Class TranscriptionSegment
public sealed class TranscriptionSegment : Google.Protobuf.IMessage<TranscriptionSegment>, Google.Protobuf.IBufferMessage
- Inheritance
-
TranscriptionSegment
- Implements
-
IBufferMessage
- Extension Methods
Constructors
TranscriptionSegment()
public TranscriptionSegment()
TranscriptionSegment(TranscriptionSegment)
public TranscriptionSegment(TranscriptionSegment other)
Parameters
otherTranscriptionSegment
Fields
EndTimeFieldNumber
Field number for the "end_time" field.
public const int EndTimeFieldNumber = 4
Field Value
FinalFieldNumber
Field number for the "final" field.
public const int FinalFieldNumber = 5
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1
Field Value
LanguageFieldNumber
Field number for the "language" field.
public const int LanguageFieldNumber = 6
Field Value
StartTimeFieldNumber
Field number for the "start_time" field.
public const int StartTimeFieldNumber = 3
Field Value
TextFieldNumber
Field number for the "text" field.
public const int TextFieldNumber = 2
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EndTime
public ulong EndTime { get; set; }
Property Value
Final
public bool Final { get; set; }
Property Value
HasEndTime
Gets whether the "end_time" field is set
public bool HasEndTime { get; }
Property Value
HasFinal
Gets whether the "final" field is set
public bool HasFinal { get; }
Property Value
HasId
Gets whether the "id" field is set
public bool HasId { get; }
Property Value
HasLanguage
Gets whether the "language" field is set
public bool HasLanguage { get; }
Property Value
HasStartTime
Gets whether the "start_time" field is set
public bool HasStartTime { get; }
Property Value
HasText
Gets whether the "text" field is set
public bool HasText { get; }
Property Value
Id
public string Id { get; set; }
Property Value
Language
public string Language { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<TranscriptionSegment> Parser { get; }
Property Value
- MessageParser<TranscriptionSegment>
StartTime
public ulong StartTime { get; set; }
Property Value
Text
public string Text { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearEndTime()
Clears the value of the "end_time" field
public void ClearEndTime()
ClearFinal()
Clears the value of the "final" field
public void ClearFinal()
ClearId()
Clears the value of the "id" field
public void ClearId()
ClearLanguage()
Clears the value of the "language" field
public void ClearLanguage()
ClearStartTime()
Clears the value of the "start_time" field
public void ClearStartTime()
ClearText()
Clears the value of the "text" field
public void ClearText()
Clone()
public TranscriptionSegment Clone()
Returns
Equals(TranscriptionSegment)
public bool Equals(TranscriptionSegment other)
Parameters
otherTranscriptionSegment
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(TranscriptionSegment)
public void MergeFrom(TranscriptionSegment other)
Parameters
otherTranscriptionSegment
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream