Table of Contents

Class DataStream.Types.Trailer

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

Constructors

Trailer()

public Trailer()

Trailer(Trailer)

public Trailer(DataStream.Types.Trailer other)

Parameters

other DataStream.Types.Trailer

Fields

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 3

Field Value

int

ReasonFieldNumber

Field number for the "reason" field.

public const int ReasonFieldNumber = 2

Field Value

int

StreamIdFieldNumber

Field number for the "stream_id" field.

public const int StreamIdFieldNumber = 1

Field Value

int

Properties

Attributes

finalizing updates for the stream, can also include additional insights for errors or endTime for transcription

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

HasReason

Gets whether the "reason" field is set

public bool HasReason { get; }

Property Value

bool

HasStreamId

Gets whether the "stream_id" field is set

public bool HasStreamId { get; }

Property Value

bool

Parser

public static Google.Protobuf.MessageParser<DataStream.Types.Trailer> Parser { get; }

Property Value

MessageParser<Trailer>

Reason

reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)

public string Reason { get; set; }

Property Value

string

StreamId

unique identifier for this data stream

public string StreamId { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearReason()

Clears the value of the "reason" field

public void ClearReason()

ClearStreamId()

Clears the value of the "stream_id" field

public void ClearStreamId()

Clone()

public DataStream.Types.Trailer Clone()

Returns

DataStream.Types.Trailer

Equals(Trailer)

public bool Equals(DataStream.Types.Trailer other)

Parameters

other DataStream.Types.Trailer

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

public void MergeFrom(DataStream.Types.Trailer other)

Parameters

other DataStream.Types.Trailer

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream