Table of Contents

Class TranscriptionSegment

Namespace
LiveKit.Proto
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

other TranscriptionSegment

Fields

EndTimeFieldNumber

Field number for the "end_time" field.

public const int EndTimeFieldNumber = 4

Field Value

int

FinalFieldNumber

Field number for the "final" field.

public const int FinalFieldNumber = 5

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

LanguageFieldNumber

Field number for the "language" field.

public const int LanguageFieldNumber = 6

Field Value

int

StartTimeFieldNumber

Field number for the "start_time" field.

public const int StartTimeFieldNumber = 3

Field Value

int

TextFieldNumber

Field number for the "text" field.

public const int TextFieldNumber = 2

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EndTime

public ulong EndTime { get; set; }

Property Value

ulong

Final

public bool Final { get; set; }

Property Value

bool

HasEndTime

Gets whether the "end_time" field is set

public bool HasEndTime { get; }

Property Value

bool

HasFinal

Gets whether the "final" field is set

public bool HasFinal { get; }

Property Value

bool

HasId

Gets whether the "id" field is set

public bool HasId { get; }

Property Value

bool

HasLanguage

Gets whether the "language" field is set

public bool HasLanguage { get; }

Property Value

bool

HasStartTime

Gets whether the "start_time" field is set

public bool HasStartTime { get; }

Property Value

bool

HasText

Gets whether the "text" field is set

public bool HasText { get; }

Property Value

bool

Id

public string Id { get; set; }

Property Value

string

Language

public string Language { get; set; }

Property Value

string

Parser

public static Google.Protobuf.MessageParser<TranscriptionSegment> Parser { get; }

Property Value

MessageParser<TranscriptionSegment>

StartTime

public ulong StartTime { get; set; }

Property Value

ulong

Text

public string Text { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

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

TranscriptionSegment

Equals(TranscriptionSegment)

public bool Equals(TranscriptionSegment other)

Parameters

other TranscriptionSegment

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(TranscriptionSegment)

public void MergeFrom(TranscriptionSegment other)

Parameters

other TranscriptionSegment

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream