Class SessionResponse.Types.GetSessionStateResponse
public sealed class SessionResponse.Types.GetSessionStateResponse : IMessage<SessionResponse.Types.GetSessionStateResponse>, IEquatable<SessionResponse.Types.GetSessionStateResponse>, IDeepCloneable<SessionResponse.Types.GetSessionStateResponse>, IBufferMessage, IMessage
- Inheritance
-
SessionResponse.Types.GetSessionStateResponse
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
GetSessionStateResponse()
public GetSessionStateResponse()
GetSessionStateResponse(GetSessionStateResponse)
public GetSessionStateResponse(SessionResponse.Types.GetSessionStateResponse other)
Parameters
Fields
AgentIdFieldNumber
Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 3
Field Value
AgentStateFieldNumber
Field number for the "agent_state" field.
public const int AgentStateFieldNumber = 1
Field Value
CreatedAtFieldNumber
Field number for the "created_at" field.
public const int CreatedAtFieldNumber = 5
Field Value
OptionsFieldNumber
Field number for the "options" field.
public const int OptionsFieldNumber = 4
Field Value
UserStateFieldNumber
Field number for the "user_state" field.
public const int UserStateFieldNumber = 2
Field Value
Properties
AgentId
public string AgentId { get; set; }
Property Value
AgentState
public AgentState AgentState { get; set; }
Property Value
CreatedAt
public Timestamp CreatedAt { get; set; }
Property Value
- Timestamp
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Options
public MapField<string, string> Options { get; }
Property Value
Parser
public static MessageParser<SessionResponse.Types.GetSessionStateResponse> Parser { get; }
Property Value
- MessageParser<SessionResponse.Types.GetSessionStateResponse>
UserState
public UserState UserState { 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.
Clone()
Creates a deep clone of this object.
public SessionResponse.Types.GetSessionStateResponse Clone()
Returns
- SessionResponse.Types.GetSessionStateResponse
A deep clone of this object.
Equals(GetSessionStateResponse)
public bool Equals(SessionResponse.Types.GetSessionStateResponse other)
Parameters
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(GetSessionStateResponse)
Merges the given message into this one.
public void MergeFrom(SessionResponse.Types.GetSessionStateResponse other)
Parameters
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.