Table of Contents

Class DefineSchemaRequest

Namespace
LiveKit.Proto

Define (store) a schema definition for the local participant.

public sealed class DefineSchemaRequest : Google.Protobuf.IMessage<DefineSchemaRequest>, Google.Protobuf.IBufferMessage
Inheritance
DefineSchemaRequest
Implements
IBufferMessage
Extension Methods

Constructors

DefineSchemaRequest()

public DefineSchemaRequest()

DefineSchemaRequest(DefineSchemaRequest)

public DefineSchemaRequest(DefineSchemaRequest other)

Parameters

other DefineSchemaRequest

Fields

DefinitionFieldNumber

Field number for the "definition" field.

public const int DefinitionFieldNumber = 3

Field Value

int

LocalParticipantHandleFieldNumber

Field number for the "local_participant_handle" field.

public const int LocalParticipantHandleFieldNumber = 1

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 4

Field Value

int

SchemaIdFieldNumber

Field number for the "schema_id" field.

public const int SchemaIdFieldNumber = 2

Field Value

int

Properties

Definition

public string Definition { get; set; }

Property Value

string

Descriptor

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

Property Value

MessageDescriptor

HasDefinition

Gets whether the "definition" field is set

public bool HasDefinition { get; }

Property Value

bool

HasLocalParticipantHandle

Gets whether the "local_participant_handle" field is set

public bool HasLocalParticipantHandle { get; }

Property Value

bool

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

LocalParticipantHandle

public ulong LocalParticipantHandle { get; set; }

Property Value

ulong

Parser

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

Property Value

MessageParser<DefineSchemaRequest>

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

SchemaId

public DataTrackSchemaId SchemaId { get; set; }

Property Value

DataTrackSchemaId

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDefinition()

Clears the value of the "definition" field

public void ClearDefinition()

ClearLocalParticipantHandle()

Clears the value of the "local_participant_handle" field

public void ClearLocalParticipantHandle()

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

Clone()

public DefineSchemaRequest Clone()

Returns

DefineSchemaRequest

Equals(DefineSchemaRequest)

public bool Equals(DefineSchemaRequest other)

Parameters

other DefineSchemaRequest

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

public void MergeFrom(DefineSchemaRequest other)

Parameters

other DefineSchemaRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream