Class DataStream.Types.Trailer
public sealed class DataStream.Types.Trailer : Google.Protobuf.IMessage<DataStream.Types.Trailer>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataStream.Types.Trailer
- Implements
-
IBufferMessage
- Extension Methods
Constructors
Trailer()
public Trailer()
Trailer(Trailer)
public Trailer(DataStream.Types.Trailer other)
Parameters
otherDataStream.Types.Trailer
Fields
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 3
Field Value
ReasonFieldNumber
Field number for the "reason" field.
public const int ReasonFieldNumber = 2
Field Value
StreamIdFieldNumber
Field number for the "stream_id" field.
public const int StreamIdFieldNumber = 1
Field Value
Properties
Attributes
finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
public Google.Protobuf.Collections.MapField<string, string> Attributes { get; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasReason
Gets whether the "reason" field is set
public bool HasReason { get; }
Property Value
HasStreamId
Gets whether the "stream_id" field is set
public bool HasStreamId { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataStream.Types.Trailer> Parser { get; }
Property Value
- MessageParser<Trailer>
Reason
reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)
public string Reason { get; set; }
Property Value
StreamId
unique identifier for this data stream
public string StreamId { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearReason()
Clears the value of the "reason" field
public void ClearReason()
ClearStreamId()
Clears the value of the "stream_id" field
public void ClearStreamId()
Clone()
public DataStream.Types.Trailer Clone()
Returns
Equals(Trailer)
public bool Equals(DataStream.Types.Trailer other)
Parameters
otherDataStream.Types.Trailer
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(Trailer)
public void MergeFrom(DataStream.Types.Trailer other)
Parameters
otherDataStream.Types.Trailer
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream