Class DefineSchemaRequest
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
otherDefineSchemaRequest
Fields
DefinitionFieldNumber
Field number for the "definition" field.
public const int DefinitionFieldNumber = 3
Field Value
LocalParticipantHandleFieldNumber
Field number for the "local_participant_handle" field.
public const int LocalParticipantHandleFieldNumber = 1
Field Value
RequestAsyncIdFieldNumber
Field number for the "request_async_id" field.
public const int RequestAsyncIdFieldNumber = 4
Field Value
SchemaIdFieldNumber
Field number for the "schema_id" field.
public const int SchemaIdFieldNumber = 2
Field Value
Properties
Definition
public string Definition { get; set; }
Property Value
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
HasLocalParticipantHandle
Gets whether the "local_participant_handle" field is set
public bool HasLocalParticipantHandle { get; }
Property Value
HasRequestAsyncId
Gets whether the "request_async_id" field is set
public bool HasRequestAsyncId { get; }
Property Value
LocalParticipantHandle
public ulong LocalParticipantHandle { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DefineSchemaRequest> Parser { get; }
Property Value
- MessageParser<DefineSchemaRequest>
RequestAsyncId
public ulong RequestAsyncId { get; set; }
Property Value
SchemaId
public DataTrackSchemaId SchemaId { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(DefineSchemaRequest)
public bool Equals(DefineSchemaRequest other)
Parameters
otherDefineSchemaRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(DefineSchemaRequest)
public void MergeFrom(DefineSchemaRequest other)
Parameters
otherDefineSchemaRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream