Class AgentSessionEvent.Types.EotPrediction
public sealed class AgentSessionEvent.Types.EotPrediction : IMessage<AgentSessionEvent.Types.EotPrediction>, IEquatable<AgentSessionEvent.Types.EotPrediction>, IDeepCloneable<AgentSessionEvent.Types.EotPrediction>, IBufferMessage, IMessage
- Inheritance
-
AgentSessionEvent.Types.EotPrediction
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
EotPrediction()
public EotPrediction()
EotPrediction(EotPrediction)
public EotPrediction(AgentSessionEvent.Types.EotPrediction other)
Parameters
Fields
DelayFieldNumber
Field number for the "delay" field.
public const int DelayFieldNumber = 4
Field Value
InferenceDurationFieldNumber
Field number for the "inference_duration" field.
public const int InferenceDurationFieldNumber = 3
Field Value
ProbabilityFieldNumber
Field number for the "probability" field.
public const int ProbabilityFieldNumber = 1
Field Value
ThresholdFieldNumber
Field number for the "threshold" field.
public const int ThresholdFieldNumber = 2
Field Value
Properties
Delay
public Duration Delay { get; set; }
Property Value
- Duration
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
InferenceDuration
public Duration InferenceDuration { get; set; }
Property Value
- Duration
Parser
public static MessageParser<AgentSessionEvent.Types.EotPrediction> Parser { get; }
Property Value
- MessageParser<AgentSessionEvent.Types.EotPrediction>
Probability
public float Probability { get; set; }
Property Value
Threshold
public float Threshold { 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.EotPrediction Clone()
Returns
- AgentSessionEvent.Types.EotPrediction
A deep clone of this object.
Equals(EotPrediction)
public bool Equals(AgentSessionEvent.Types.EotPrediction 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(EotPrediction)
Merges the given message into this one.
public void MergeFrom(AgentSessionEvent.Types.EotPrediction 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.