Class IngressAudioOptions
public sealed class IngressAudioOptions : IMessage<IngressAudioOptions>, IEquatable<IngressAudioOptions>, IDeepCloneable<IngressAudioOptions>, IBufferMessage, IMessage
- Inheritance
-
IngressAudioOptions
- Implements
-
IMessage<IngressAudioOptions>IDeepCloneable<IngressAudioOptions>IBufferMessageIMessage
- Inherited Members
Constructors
IngressAudioOptions()
public IngressAudioOptions()
IngressAudioOptions(IngressAudioOptions)
public IngressAudioOptions(IngressAudioOptions other)
Parameters
otherIngressAudioOptions
Fields
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 1
Field Value
OptionsFieldNumber
Field number for the "options" field.
public const int OptionsFieldNumber = 4
Field Value
PresetFieldNumber
Field number for the "preset" field.
public const int PresetFieldNumber = 3
Field Value
SourceFieldNumber
Field number for the "source" field.
public const int SourceFieldNumber = 2
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EncodingOptionsCase
public IngressAudioOptions.EncodingOptionsOneofCase EncodingOptionsCase { get; }
Property Value
HasPreset
Gets whether the "preset" field is set
public bool HasPreset { get; }
Property Value
Name
public string Name { get; set; }
Property Value
Options
public IngressAudioEncodingOptions Options { get; set; }
Property Value
Parser
public static MessageParser<IngressAudioOptions> Parser { get; }
Property Value
- MessageParser<IngressAudioOptions>
Preset
public IngressAudioEncodingPreset Preset { get; set; }
Property Value
Source
public TrackSource Source { 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.
ClearEncodingOptions()
public void ClearEncodingOptions()
ClearPreset()
Clears the value of the oneof if it's currently set to "preset"
public void ClearPreset()
Clone()
Creates a deep clone of this object.
public IngressAudioOptions Clone()
Returns
- IngressAudioOptions
A deep clone of this object.
Equals(IngressAudioOptions)
public bool Equals(IngressAudioOptions other)
Parameters
otherIngressAudioOptions
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(IngressAudioOptions)
Merges the given message into this one.
public void MergeFrom(IngressAudioOptions other)
Parameters
otherIngressAudioOptions
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.