Class DataStream.Types.TextHeader
header properties specific to text streams
public sealed class DataStream.Types.TextHeader : Google.Protobuf.IMessage<DataStream.Types.TextHeader>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataStream.Types.TextHeader
- Implements
-
IBufferMessage
- Extension Methods
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 Google.Protobuf.Collections.RepeatedField<string> AttachedStreamIds { get; }
Property Value
- RepeatedField<string>
Descriptor
public static Google.Protobuf.Reflection.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
HasGenerated
Gets whether the "generated" field is set
public bool HasGenerated { get; }
Property Value
HasOperationType
Gets whether the "operation_type" field is set
public bool HasOperationType { get; }
Property Value
HasReplyToStreamId
Gets whether the "reply_to_stream_id" field is set
public bool HasReplyToStreamId { get; }
Property Value
HasVersion
Gets whether the "version" field is set
public bool HasVersion { get; }
Property Value
OperationType
public DataStream.Types.OperationType OperationType { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataStream.Types.TextHeader> Parser { get; }
Property Value
- MessageParser<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()
public int CalculateSize()
Returns
ClearGenerated()
Clears the value of the "generated" field
public void ClearGenerated()
ClearOperationType()
Clears the value of the "operation_type" field
public void ClearOperationType()
ClearReplyToStreamId()
Clears the value of the "reply_to_stream_id" field
public void ClearReplyToStreamId()
ClearVersion()
Clears the value of the "version" field
public void ClearVersion()
Clone()
public DataStream.Types.TextHeader Clone()
Returns
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)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(TextHeader)
public void MergeFrom(DataStream.Types.TextHeader other)
Parameters
otherDataStream.Types.TextHeader
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream