Class AgentSessionEvent
public sealed class AgentSessionEvent : IMessage<AgentSessionEvent>, IEquatable<AgentSessionEvent>, IDeepCloneable<AgentSessionEvent>, IBufferMessage, IMessage
- Inheritance
-
AgentSessionEvent
- Implements
-
IMessage<AgentSessionEvent>IDeepCloneable<AgentSessionEvent>IBufferMessageIMessage
- Inherited Members
Constructors
AgentSessionEvent()
public AgentSessionEvent()
AgentSessionEvent(AgentSessionEvent)
public AgentSessionEvent(AgentSessionEvent other)
Parameters
otherAgentSessionEvent
Fields
AgentStateChangedFieldNumber
Field number for the "agent_state_changed" field.
public const int AgentStateChangedFieldNumber = 10
Field Value
AmdPredictionFieldNumber
Field number for the "amd_prediction" field.
public const int AmdPredictionFieldNumber = 18
Field Value
ConversationItemAddedFieldNumber
Field number for the "conversation_item_added" field.
public const int ConversationItemAddedFieldNumber = 12
Field Value
CreatedAtFieldNumber
Field number for the "created_at" field.
public const int CreatedAtFieldNumber = 1
Field Value
DebugMessageFieldNumber
Field number for the "debug_message" field.
public const int DebugMessageFieldNumber = 21
Field Value
EotPredictionFieldNumber
Field number for the "eot_prediction" field.
public const int EotPredictionFieldNumber = 19
Field Value
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 15
Field Value
FunctionToolsExecutedFieldNumber
Field number for the "function_tools_executed" field.
public const int FunctionToolsExecutedFieldNumber = 14
Field Value
FunctionToolsStartedFieldNumber
Field number for the "function_tools_started" field.
public const int FunctionToolsStartedFieldNumber = 20
Field Value
OverlappingSpeechFieldNumber
Field number for the "overlapping_speech" field.
public const int OverlappingSpeechFieldNumber = 16
Field Value
SessionUsageUpdatedFieldNumber
Field number for the "session_usage_updated" field.
public const int SessionUsageUpdatedFieldNumber = 17
Field Value
UserInputTranscribedFieldNumber
Field number for the "user_input_transcribed" field.
public const int UserInputTranscribedFieldNumber = 13
Field Value
UserStateChangedFieldNumber
Field number for the "user_state_changed" field.
public const int UserStateChangedFieldNumber = 11
Field Value
Properties
AgentStateChanged
public AgentSessionEvent.Types.AgentStateChanged AgentStateChanged { get; set; }
Property Value
AmdPrediction
public AgentSessionEvent.Types.AmdPrediction AmdPrediction { get; set; }
Property Value
ConversationItemAdded
public AgentSessionEvent.Types.ConversationItemAdded ConversationItemAdded { get; set; }
Property Value
CreatedAt
public Timestamp CreatedAt { get; set; }
Property Value
- Timestamp
DebugMessage
public DebugMessage DebugMessage { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EotPrediction
public AgentSessionEvent.Types.EotPrediction EotPrediction { get; set; }
Property Value
Error
public AgentSessionEvent.Types.Error Error { get; set; }
Property Value
EventCase
public AgentSessionEvent.EventOneofCase EventCase { get; }
Property Value
FunctionToolsExecuted
public AgentSessionEvent.Types.FunctionToolsExecuted FunctionToolsExecuted { get; set; }
Property Value
FunctionToolsStarted
public AgentSessionEvent.Types.FunctionToolsStarted FunctionToolsStarted { get; set; }
Property Value
OverlappingSpeech
public AgentSessionEvent.Types.OverlappingSpeech OverlappingSpeech { get; set; }
Property Value
Parser
public static MessageParser<AgentSessionEvent> Parser { get; }
Property Value
- MessageParser<AgentSessionEvent>
SessionUsageUpdated
public AgentSessionEvent.Types.SessionUsageUpdated SessionUsageUpdated { get; set; }
Property Value
UserInputTranscribed
public AgentSessionEvent.Types.UserInputTranscribed UserInputTranscribed { get; set; }
Property Value
UserStateChanged
public AgentSessionEvent.Types.UserStateChanged UserStateChanged { 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.
ClearEvent()
public void ClearEvent()
Clone()
Creates a deep clone of this object.
public AgentSessionEvent Clone()
Returns
- AgentSessionEvent
A deep clone of this object.
Equals(AgentSessionEvent)
public bool Equals(AgentSessionEvent other)
Parameters
otherAgentSessionEvent
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(AgentSessionEvent)
Merges the given message into this one.
public void MergeFrom(AgentSessionEvent other)
Parameters
otherAgentSessionEvent
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.