Table of Contents

Class DataStream.Types.TextHeader

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

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
IDeepCloneable<DataStream.Types.TextHeader>
IBufferMessage
IMessage
Inherited Members

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 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

bool

OperationType

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

Property Value

DataStream.Types.OperationType

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

string

Version

Optional: Version for updates/edits

public int Version { get; set; }

Property Value

int

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

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)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

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

other DataStream.Types.TextHeader

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.