Table of Contents

Class DataStream.Types.TextHeader

Namespace
LiveKit.Proto

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

other DataStream.Types.TextHeader

Fields

AttachedStreamIdsFieldNumber

Field number for the "attached_stream_ids" field.

public const int AttachedStreamIdsFieldNumber = 4

Field Value

int

GeneratedFieldNumber

Field number for the "generated" field.

public const int GeneratedFieldNumber = 5

Field Value

int

OperationTypeFieldNumber

Field number for the "operation_type" field.

public const int OperationTypeFieldNumber = 1

Field Value

int

ReplyToStreamIdFieldNumber

Field number for the "reply_to_stream_id" field.

public const int ReplyToStreamIdFieldNumber = 3

Field Value

int

VersionFieldNumber

Field number for the "version" field.

public const int VersionFieldNumber = 2

Field Value

int

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

bool

HasGenerated

Gets whether the "generated" field is set

public bool HasGenerated { get; }

Property Value

bool

HasOperationType

Gets whether the "operation_type" field is set

public bool HasOperationType { get; }

Property Value

bool

HasReplyToStreamId

Gets whether the "reply_to_stream_id" field is set

public bool HasReplyToStreamId { get; }

Property Value

bool

HasVersion

Gets whether the "version" field is set

public bool HasVersion { get; }

Property Value

bool

OperationType

public DataStream.Types.OperationType OperationType { get; set; }

Property Value

DataStream.Types.OperationType

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

string

Version

Optional: Version for updates/edits

public int Version { get; set; }

Property Value

int

Methods

CalculateSize()

public int CalculateSize()

Returns

int

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

DataStream.Types.TextHeader

Equals(TextHeader)

public bool Equals(DataStream.Types.TextHeader other)

Parameters

other DataStream.Types.TextHeader

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(TextHeader)

public void MergeFrom(DataStream.Types.TextHeader other)

Parameters

other DataStream.Types.TextHeader

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream