Class AgentSessionEvent.Types.OverlappingSpeech
public sealed class AgentSessionEvent.Types.OverlappingSpeech : IMessage<AgentSessionEvent.Types.OverlappingSpeech>, IEquatable<AgentSessionEvent.Types.OverlappingSpeech>, IDeepCloneable<AgentSessionEvent.Types.OverlappingSpeech>, IBufferMessage, IMessage
- Inheritance
-
AgentSessionEvent.Types.OverlappingSpeech
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
OverlappingSpeech()
public OverlappingSpeech()
OverlappingSpeech(OverlappingSpeech)
public OverlappingSpeech(AgentSessionEvent.Types.OverlappingSpeech other)
Parameters
Fields
DetectedAtFieldNumber
Field number for the "detected_at" field.
public const int DetectedAtFieldNumber = 4
Field Value
DetectionDelayFieldNumber
Field number for the "detection_delay" field.
public const int DetectionDelayFieldNumber = 3
Field Value
IsInterruptionFieldNumber
Field number for the "is_interruption" field.
public const int IsInterruptionFieldNumber = 1
Field Value
OverlapStartedAtFieldNumber
Field number for the "overlap_started_at" field.
public const int OverlapStartedAtFieldNumber = 2
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DetectedAt
public Timestamp DetectedAt { get; set; }
Property Value
- Timestamp
DetectionDelay
public double DetectionDelay { get; set; }
Property Value
IsInterruption
public bool IsInterruption { get; set; }
Property Value
OverlapStartedAt
public Timestamp OverlapStartedAt { get; set; }
Property Value
- Timestamp
Parser
public static MessageParser<AgentSessionEvent.Types.OverlappingSpeech> Parser { get; }
Property Value
- MessageParser<AgentSessionEvent.Types.OverlappingSpeech>
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.OverlappingSpeech Clone()
Returns
- AgentSessionEvent.Types.OverlappingSpeech
A deep clone of this object.
Equals(OverlappingSpeech)
public bool Equals(AgentSessionEvent.Types.OverlappingSpeech 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(OverlappingSpeech)
Merges the given message into this one.
public void MergeFrom(AgentSessionEvent.Types.OverlappingSpeech 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.