Class DataStream.Types.TextHeader
header properties specific to text streams
public sealed class DataStream.Types.TextHeader : IMessage<DataStream.Types.TextHeader>, IEquatable<DataStream.Types.TextHeader>, IDeepCloneable<DataStream.Types.TextHeader>, IBufferMessage, IMessage
- Inheritance
-
DataStream.Types.TextHeader
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
TextHeader()
public TextHeader()
TextHeader(TextHeader)
public TextHeader(DataStream.Types.TextHeader other)
Parameters
otherDataStream.Types.TextHeader
Fields
AttachedStreamIdsFieldNumber
Field number for the "attached_stream_ids" field.
public const int AttachedStreamIdsFieldNumber = 4
Field Value
GeneratedFieldNumber
Field number for the "generated" field.
public const int GeneratedFieldNumber = 5
Field Value
OperationTypeFieldNumber
Field number for the "operation_type" field.
public const int OperationTypeFieldNumber = 1
Field Value
ReplyToStreamIdFieldNumber
Field number for the "reply_to_stream_id" field.
public const int ReplyToStreamIdFieldNumber = 3
Field Value
VersionFieldNumber
Field number for the "version" field.
public const int VersionFieldNumber = 2
Field Value
Properties
AttachedStreamIds
file attachments for text streams
public RepeatedField<string> AttachedStreamIds { get; }
Property Value
- RepeatedField<string>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Generated
true if the text has been generated by an agent from a participant's audio transcription
public bool Generated { get; set; }
Property Value
OperationType
public DataStream.Types.OperationType OperationType { get; set; }
Property Value
Parser
public static MessageParser<DataStream.Types.TextHeader> Parser { get; }
Property Value
- MessageParser<DataStream.Types.TextHeader>
ReplyToStreamId
Optional: Reply to specific message
public string ReplyToStreamId { get; set; }
Property Value
Version
Optional: Version for updates/edits
public int Version { 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 DataStream.Types.TextHeader Clone()
Returns
- DataStream.Types.TextHeader
A deep clone of this object.
Equals(TextHeader)
public bool Equals(DataStream.Types.TextHeader other)
Parameters
otherDataStream.Types.TextHeader
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(TextHeader)
Merges the given message into this one.
public void MergeFrom(DataStream.Types.TextHeader other)
Parameters
otherDataStream.Types.TextHeader
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.