Class AgentSessionEvent.Types.AmdPrediction
public sealed class AgentSessionEvent.Types.AmdPrediction : IMessage<AgentSessionEvent.Types.AmdPrediction>, IEquatable<AgentSessionEvent.Types.AmdPrediction>, IDeepCloneable<AgentSessionEvent.Types.AmdPrediction>, IBufferMessage, IMessage
- Inheritance
-
AgentSessionEvent.Types.AmdPrediction
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
AmdPrediction()
public AmdPrediction()
AmdPrediction(AmdPrediction)
public AmdPrediction(AgentSessionEvent.Types.AmdPrediction other)
Parameters
Fields
CategoryFieldNumber
Field number for the "category" field.
public const int CategoryFieldNumber = 2
Field Value
DelayFieldNumber
Field number for the "delay" field.
public const int DelayFieldNumber = 5
Field Value
ReasonFieldNumber
Field number for the "reason" field.
public const int ReasonFieldNumber = 3
Field Value
SpeechDurationFieldNumber
Field number for the "speech_duration" field.
public const int SpeechDurationFieldNumber = 1
Field Value
TranscriptFieldNumber
Field number for the "transcript" field.
public const int TranscriptFieldNumber = 4
Field Value
Properties
Category
public AmdCategory Category { get; set; }
Property Value
Delay
public Duration Delay { get; set; }
Property Value
- Duration
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<AgentSessionEvent.Types.AmdPrediction> Parser { get; }
Property Value
- MessageParser<AgentSessionEvent.Types.AmdPrediction>
Reason
public string Reason { get; set; }
Property Value
SpeechDuration
public Duration SpeechDuration { get; set; }
Property Value
- Duration
Transcript
public string Transcript { 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 AgentSessionEvent.Types.AmdPrediction Clone()
Returns
- AgentSessionEvent.Types.AmdPrediction
A deep clone of this object.
Equals(AmdPrediction)
public bool Equals(AgentSessionEvent.Types.AmdPrediction 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(AmdPrediction)
Merges the given message into this one.
public void MergeFrom(AgentSessionEvent.Types.AmdPrediction 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.