Class DataSelector
public sealed class DataSelector : IMessage<DataSelector>, IEquatable<DataSelector>, IDeepCloneable<DataSelector>, IBufferMessage, IMessage
- Inheritance
-
DataSelector
- Implements
-
IMessage<DataSelector>IDeepCloneable<DataSelector>IBufferMessageIMessage
- Inherited Members
Constructors
DataSelector()
public DataSelector()
DataSelector(DataSelector)
public DataSelector(DataSelector other)
Parameters
otherDataSelector
Fields
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 2
Field Value
TopicFieldNumber
Field number for the "topic" field.
public const int TopicFieldNumber = 3
Field Value
TrackIdFieldNumber
Field number for the "track_id" field.
public const int TrackIdFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
HasTopic
Gets whether the "topic" field is set
public bool HasTopic { get; }
Property Value
HasTrackId
Gets whether the "track_id" field is set
public bool HasTrackId { get; }
Property Value
MatchCase
public DataSelector.MatchOneofCase MatchCase { get; }
Property Value
Parser
public static MessageParser<DataSelector> Parser { get; }
Property Value
- MessageParser<DataSelector>
ParticipantIdentity
public string ParticipantIdentity { get; set; }
Property Value
Topic
public string Topic { get; set; }
Property Value
TrackId
public string TrackId { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearMatch()
public void ClearMatch()
ClearParticipantIdentity()
Clears the value of the oneof if it's currently set to "participant_identity"
public void ClearParticipantIdentity()
ClearTopic()
Clears the value of the oneof if it's currently set to "topic"
public void ClearTopic()
ClearTrackId()
Clears the value of the oneof if it's currently set to "track_id"
public void ClearTrackId()
Clone()
Creates a deep clone of this object.
public DataSelector Clone()
Returns
- DataSelector
A deep clone of this object.
Equals(DataSelector)
public bool Equals(DataSelector other)
Parameters
otherDataSelector
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(DataSelector)
Merges the given message into this one.
public void MergeFrom(DataSelector other)
Parameters
otherDataSelector
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.