Class ConnectionSettings
public sealed class ConnectionSettings : IMessage<ConnectionSettings>, IEquatable<ConnectionSettings>, IDeepCloneable<ConnectionSettings>, IBufferMessage, IMessage
- Inheritance
-
ConnectionSettings
- Implements
-
IMessage<ConnectionSettings>IDeepCloneable<ConnectionSettings>IBufferMessageIMessage
- Inherited Members
Constructors
ConnectionSettings()
public ConnectionSettings()
ConnectionSettings(ConnectionSettings)
public ConnectionSettings(ConnectionSettings other)
Parameters
otherConnectionSettings
Fields
AdaptiveStreamFieldNumber
Field number for the "adaptive_stream" field.
public const int AdaptiveStreamFieldNumber = 2
Field Value
AutoSubscribeDataTrackFieldNumber
Field number for the "auto_subscribe_data_track" field.
public const int AutoSubscribeDataTrackFieldNumber = 5
Field Value
AutoSubscribeFieldNumber
Field number for the "auto_subscribe" field.
public const int AutoSubscribeFieldNumber = 1
Field Value
DisableIceLiteFieldNumber
Field number for the "disable_ice_lite" field.
public const int DisableIceLiteFieldNumber = 4
Field Value
SubscriberAllowPauseFieldNumber
Field number for the "subscriber_allow_pause" field.
public const int SubscriberAllowPauseFieldNumber = 3
Field Value
Properties
AdaptiveStream
public bool AdaptiveStream { get; set; }
Property Value
AutoSubscribe
public bool AutoSubscribe { get; set; }
Property Value
AutoSubscribeDataTrack
public bool AutoSubscribeDataTrack { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisableIceLite
public bool DisableIceLite { get; set; }
Property Value
HasAutoSubscribeDataTrack
Gets whether the "auto_subscribe_data_track" field is set
public bool HasAutoSubscribeDataTrack { get; }
Property Value
HasSubscriberAllowPause
Gets whether the "subscriber_allow_pause" field is set
public bool HasSubscriberAllowPause { get; }
Property Value
Parser
public static MessageParser<ConnectionSettings> Parser { get; }
Property Value
- MessageParser<ConnectionSettings>
SubscriberAllowPause
public bool SubscriberAllowPause { 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.
ClearAutoSubscribeDataTrack()
Clears the value of the "auto_subscribe_data_track" field
public void ClearAutoSubscribeDataTrack()
ClearSubscriberAllowPause()
Clears the value of the "subscriber_allow_pause" field
public void ClearSubscriberAllowPause()
Clone()
Creates a deep clone of this object.
public ConnectionSettings Clone()
Returns
- ConnectionSettings
A deep clone of this object.
Equals(ConnectionSettings)
public bool Equals(ConnectionSettings other)
Parameters
otherConnectionSettings
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(ConnectionSettings)
Merges the given message into this one.
public void MergeFrom(ConnectionSettings other)
Parameters
otherConnectionSettings
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.