Table of Contents

Class TextStreamInfo

Namespace
LiveKit.Proto
public sealed class TextStreamInfo : Google.Protobuf.IMessage<TextStreamInfo>, Google.Protobuf.IBufferMessage
Inheritance
TextStreamInfo
Implements
IBufferMessage
Extension Methods

Constructors

TextStreamInfo()

public TextStreamInfo()

TextStreamInfo(TextStreamInfo)

public TextStreamInfo(TextStreamInfo other)

Parameters

other TextStreamInfo

Fields

AttachedStreamIdsFieldNumber

Field number for the "attached_stream_ids" field.

public const int AttachedStreamIdsFieldNumber = 10

Field Value

int

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 6

Field Value

int

EncryptionTypeFieldNumber

Field number for the "encryption_type" field.

public const int EncryptionTypeFieldNumber = 12

Field Value

int

GeneratedFieldNumber

Field number for the "generated" field.

public const int GeneratedFieldNumber = 11

Field Value

int

MimeTypeFieldNumber

Field number for the "mime_type" field.

public const int MimeTypeFieldNumber = 3

Field Value

int

OperationTypeFieldNumber

Field number for the "operation_type" field.

public const int OperationTypeFieldNumber = 7

Field Value

int

ReplyToStreamIdFieldNumber

Field number for the "reply_to_stream_id" field.

public const int ReplyToStreamIdFieldNumber = 9

Field Value

int

StreamIdFieldNumber

Field number for the "stream_id" field.

public const int StreamIdFieldNumber = 1

Field Value

int

TimestampFieldNumber

Field number for the "timestamp" field.

public const int TimestampFieldNumber = 2

Field Value

int

TopicFieldNumber

Field number for the "topic" field.

public const int TopicFieldNumber = 4

Field Value

int

TotalLengthFieldNumber

Field number for the "total_length" field.

public const int TotalLengthFieldNumber = 5

Field Value

int

VersionFieldNumber

Field number for the "version" field.

public const int VersionFieldNumber = 8

Field Value

int

Properties

AttachedStreamIds

file attachments for text streams

public Google.Protobuf.Collections.RepeatedField<string> AttachedStreamIds { get; }

Property Value

RepeatedField<string>

Attributes

user defined attributes map that can carry additional info

public Google.Protobuf.Collections.MapField<string, string> Attributes { get; }

Property Value

MapField<string, string>

Descriptor

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

Property Value

MessageDescriptor

EncryptionType

public EncryptionType EncryptionType { get; set; }

Property Value

EncryptionType

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

HasEncryptionType

Gets whether the "encryption_type" field is set

public bool HasEncryptionType { get; }

Property Value

bool

HasGenerated

Gets whether the "generated" field is set

public bool HasGenerated { get; }

Property Value

bool

HasMimeType

Gets whether the "mime_type" field is set

public bool HasMimeType { 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

HasStreamId

Gets whether the "stream_id" field is set

public bool HasStreamId { get; }

Property Value

bool

HasTimestamp

Gets whether the "timestamp" field is set

public bool HasTimestamp { get; }

Property Value

bool

HasTopic

Gets whether the "topic" field is set

public bool HasTopic { get; }

Property Value

bool

HasTotalLength

Gets whether the "total_length" field is set

public bool HasTotalLength { get; }

Property Value

bool

HasVersion

Gets whether the "version" field is set

public bool HasVersion { get; }

Property Value

bool

MimeType

public string MimeType { get; set; }

Property Value

string

OperationType

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

Property Value

TextStreamInfo.Types.OperationType

Parser

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

Property Value

MessageParser<TextStreamInfo>

ReplyToStreamId

Optional: Reply to specific message

public string ReplyToStreamId { get; set; }

Property Value

string

StreamId

unique identifier for this data stream

public string StreamId { get; set; }

Property Value

string

Timestamp

using int64 for Unix timestamp

public long Timestamp { get; set; }

Property Value

long

Topic

public string Topic { get; set; }

Property Value

string

TotalLength

only populated for finite streams, if it's a stream of unknown size this stays empty

public ulong TotalLength { get; set; }

Property Value

ulong

Version

Optional: Version for updates/edits

public int Version { get; set; }

Property Value

int

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearEncryptionType()

Clears the value of the "encryption_type" field

public void ClearEncryptionType()

ClearGenerated()

Clears the value of the "generated" field

public void ClearGenerated()

ClearMimeType()

Clears the value of the "mime_type" field

public void ClearMimeType()

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

ClearStreamId()

Clears the value of the "stream_id" field

public void ClearStreamId()

ClearTimestamp()

Clears the value of the "timestamp" field

public void ClearTimestamp()

ClearTopic()

Clears the value of the "topic" field

public void ClearTopic()

ClearTotalLength()

Clears the value of the "total_length" field

public void ClearTotalLength()

ClearVersion()

Clears the value of the "version" field

public void ClearVersion()

Clone()

public TextStreamInfo Clone()

Returns

TextStreamInfo

Equals(TextStreamInfo)

public bool Equals(TextStreamInfo other)

Parameters

other TextStreamInfo

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

public void MergeFrom(TextStreamInfo other)

Parameters

other TextStreamInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream