Class SetTrackSubscriptionPermissionsRequest
public sealed class SetTrackSubscriptionPermissionsRequest : Google.Protobuf.IMessage<SetTrackSubscriptionPermissionsRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
SetTrackSubscriptionPermissionsRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
SetTrackSubscriptionPermissionsRequest()
public SetTrackSubscriptionPermissionsRequest()
SetTrackSubscriptionPermissionsRequest(SetTrackSubscriptionPermissionsRequest)
public SetTrackSubscriptionPermissionsRequest(SetTrackSubscriptionPermissionsRequest other)
Parameters
Fields
AllParticipantsAllowedFieldNumber
Field number for the "all_participants_allowed" field.
public const int AllParticipantsAllowedFieldNumber = 2
Field Value
LocalParticipantHandleFieldNumber
Field number for the "local_participant_handle" field.
public const int LocalParticipantHandleFieldNumber = 1
Field Value
PermissionsFieldNumber
Field number for the "permissions" field.
public const int PermissionsFieldNumber = 3
Field Value
Properties
AllParticipantsAllowed
public bool AllParticipantsAllowed { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasAllParticipantsAllowed
Gets whether the "all_participants_allowed" field is set
public bool HasAllParticipantsAllowed { get; }
Property Value
HasLocalParticipantHandle
Gets whether the "local_participant_handle" field is set
public bool HasLocalParticipantHandle { get; }
Property Value
LocalParticipantHandle
public ulong LocalParticipantHandle { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<SetTrackSubscriptionPermissionsRequest> Parser { get; }
Property Value
- MessageParser<SetTrackSubscriptionPermissionsRequest>
Permissions
public Google.Protobuf.Collections.RepeatedField<ParticipantTrackPermission> Permissions { get; }
Property Value
- RepeatedField<ParticipantTrackPermission>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearAllParticipantsAllowed()
Clears the value of the "all_participants_allowed" field
public void ClearAllParticipantsAllowed()
ClearLocalParticipantHandle()
Clears the value of the "local_participant_handle" field
public void ClearLocalParticipantHandle()
Clone()
public SetTrackSubscriptionPermissionsRequest Clone()
Returns
Equals(SetTrackSubscriptionPermissionsRequest)
public bool Equals(SetTrackSubscriptionPermissionsRequest other)
Parameters
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(SetTrackSubscriptionPermissionsRequest)
public void MergeFrom(SetTrackSubscriptionPermissionsRequest other)
Parameters
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream