Class SessionRequest
public sealed class SessionRequest : IMessage<SessionRequest>, IEquatable<SessionRequest>, IDeepCloneable<SessionRequest>, IBufferMessage, IMessage
- Inheritance
-
SessionRequest
- Implements
-
IMessage<SessionRequest>IDeepCloneable<SessionRequest>IBufferMessageIMessage
- Inherited Members
Constructors
SessionRequest()
public SessionRequest()
SessionRequest(SessionRequest)
public SessionRequest(SessionRequest other)
Parameters
otherSessionRequest
Fields
GetAgentInfoFieldNumber
Field number for the "get_agent_info" field.
public const int GetAgentInfoFieldNumber = 6
Field Value
GetChatHistoryFieldNumber
Field number for the "get_chat_history" field.
public const int GetChatHistoryFieldNumber = 4
Field Value
GetFrameworkInfoFieldNumber
Field number for the "get_framework_info" field.
public const int GetFrameworkInfoFieldNumber = 10
Field Value
GetRtcStatsFieldNumber
Field number for the "get_rtc_stats" field.
public const int GetRtcStatsFieldNumber = 8
Field Value
GetSessionStateFieldNumber
Field number for the "get_session_state" field.
public const int GetSessionStateFieldNumber = 7
Field Value
GetSessionUsageFieldNumber
Field number for the "get_session_usage" field.
public const int GetSessionUsageFieldNumber = 9
Field Value
PingFieldNumber
Field number for the "ping" field.
public const int PingFieldNumber = 2
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 = 5
Field Value
UpdateIoFieldNumber
Field number for the "update_io" field.
public const int UpdateIoFieldNumber = 11
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
GetAgentInfo
public SessionRequest.Types.GetAgentInfo GetAgentInfo { get; set; }
Property Value
GetChatHistory
public SessionRequest.Types.GetChatHistory GetChatHistory { get; set; }
Property Value
GetFrameworkInfo
public SessionRequest.Types.GetFrameworkInfo GetFrameworkInfo { get; set; }
Property Value
GetRtcStats
public SessionRequest.Types.GetRTCStats GetRtcStats { get; set; }
Property Value
GetSessionState
public SessionRequest.Types.GetSessionState GetSessionState { get; set; }
Property Value
GetSessionUsage
public SessionRequest.Types.GetSessionUsage GetSessionUsage { get; set; }
Property Value
Parser
public static MessageParser<SessionRequest> Parser { get; }
Property Value
- MessageParser<SessionRequest>
Ping
public SessionRequest.Types.Ping Ping { get; set; }
Property Value
RequestCase
public SessionRequest.RequestOneofCase RequestCase { get; }
Property Value
RequestId
public string RequestId { get; set; }
Property Value
RunInput
public SessionRequest.Types.RunInput RunInput { get; set; }
Property Value
UpdateIo
public SessionRequest.Types.UpdateIO 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.
ClearRequest()
public void ClearRequest()
Clone()
Creates a deep clone of this object.
public SessionRequest Clone()
Returns
- SessionRequest
A deep clone of this object.
Equals(SessionRequest)
public bool Equals(SessionRequest other)
Parameters
otherSessionRequest
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(SessionRequest)
Merges the given message into this one.
public void MergeFrom(SessionRequest other)
Parameters
otherSessionRequest
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.