Class SessionResponse
public sealed class SessionResponse : IMessage<SessionResponse>, IEquatable<SessionResponse>, IDeepCloneable<SessionResponse>, IBufferMessage, IMessage
- Inheritance
-
SessionResponse
- Implements
-
IMessage<SessionResponse>IDeepCloneable<SessionResponse>IBufferMessageIMessage
- Inherited Members
Constructors
SessionResponse()
public SessionResponse()
SessionResponse(SessionResponse)
public SessionResponse(SessionResponse other)
Parameters
otherSessionResponse
Fields
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 2
Field Value
GetAgentInfoFieldNumber
Field number for the "get_agent_info" field.
public const int GetAgentInfoFieldNumber = 7
Field Value
GetChatHistoryFieldNumber
Field number for the "get_chat_history" field.
public const int GetChatHistoryFieldNumber = 5
Field Value
GetFrameworkInfoFieldNumber
Field number for the "get_framework_info" field.
public const int GetFrameworkInfoFieldNumber = 11
Field Value
GetRtcStatsFieldNumber
Field number for the "get_rtc_stats" field.
public const int GetRtcStatsFieldNumber = 9
Field Value
GetSessionStateFieldNumber
Field number for the "get_session_state" field.
public const int GetSessionStateFieldNumber = 8
Field Value
GetSessionUsageFieldNumber
Field number for the "get_session_usage" field.
public const int GetSessionUsageFieldNumber = 10
Field Value
PongFieldNumber
Field number for the "pong" field.
public const int PongFieldNumber = 3
Field Value
RequestIdFieldNumber
Field number for the "request_id" field.
public const int RequestIdFieldNumber = 1
Field Value
RunInputFieldNumber
Field number for the "run_input" field.
public const int RunInputFieldNumber = 6
Field Value
UpdateIoFieldNumber
Field number for the "update_io" field.
public const int UpdateIoFieldNumber = 12
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Error
public string Error { get; set; }
Property Value
GetAgentInfo
public SessionResponse.Types.GetAgentInfoResponse GetAgentInfo { get; set; }
Property Value
GetChatHistory
public SessionResponse.Types.GetChatHistoryResponse GetChatHistory { get; set; }
Property Value
GetFrameworkInfo
public SessionResponse.Types.GetFrameworkInfoResponse GetFrameworkInfo { get; set; }
Property Value
GetRtcStats
public SessionResponse.Types.GetRTCStatsResponse GetRtcStats { get; set; }
Property Value
GetSessionState
public SessionResponse.Types.GetSessionStateResponse GetSessionState { get; set; }
Property Value
GetSessionUsage
public SessionResponse.Types.GetSessionUsageResponse GetSessionUsage { get; set; }
Property Value
HasError
Gets whether the "error" field is set
public bool HasError { get; }
Property Value
Parser
public static MessageParser<SessionResponse> Parser { get; }
Property Value
- MessageParser<SessionResponse>
Pong
public SessionResponse.Types.Pong Pong { get; set; }
Property Value
RequestId
public string RequestId { get; set; }
Property Value
ResponseCase
public SessionResponse.ResponseOneofCase ResponseCase { get; }
Property Value
RunInput
public SessionResponse.Types.RunInputResponse RunInput { get; set; }
Property Value
UpdateIo
public SessionResponse.Types.UpdateIOResponse UpdateIo { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearError()
Clears the value of the "error" field
public void ClearError()
ClearResponse()
public void ClearResponse()
Clone()
Creates a deep clone of this object.
public SessionResponse Clone()
Returns
- SessionResponse
A deep clone of this object.
Equals(SessionResponse)
public bool Equals(SessionResponse other)
Parameters
otherSessionResponse
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(SessionResponse)
Merges the given message into this one.
public void MergeFrom(SessionResponse other)
Parameters
otherSessionResponse
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.