Class ClientUpdatesConfigMessage
- Namespace
- AppleTvControlLibrary.Mrp.Protobuf
- Assembly
- AppleTvControlLibrary.Mrp.dll
public sealed class ClientUpdatesConfigMessage : IMessage<ClientUpdatesConfigMessage>, IEquatable<ClientUpdatesConfigMessage>, IDeepCloneable<ClientUpdatesConfigMessage>, IBufferMessage, IMessage
- Inheritance
-
ClientUpdatesConfigMessage
- Implements
-
IMessage<ClientUpdatesConfigMessage>IDeepCloneable<ClientUpdatesConfigMessage>IBufferMessageIMessage
- Inherited Members
Constructors
ClientUpdatesConfigMessage()
public ClientUpdatesConfigMessage()
ClientUpdatesConfigMessage(ClientUpdatesConfigMessage)
public ClientUpdatesConfigMessage(ClientUpdatesConfigMessage other)
Parameters
Fields
ArtworkUpdatesFieldNumber
Field number for the "artworkUpdates" field.
public const int ArtworkUpdatesFieldNumber = 1
Field Value
KeyboardUpdatesFieldNumber
Field number for the "keyboardUpdates" field.
public const int KeyboardUpdatesFieldNumber = 4
Field Value
NowPlayingUpdatesFieldNumber
Field number for the "nowPlayingUpdates" field.
public const int NowPlayingUpdatesFieldNumber = 2
Field Value
OutputDeviceUpdatesFieldNumber
Field number for the "outputDeviceUpdates" field.
public const int OutputDeviceUpdatesFieldNumber = 5
Field Value
VolumeUpdatesFieldNumber
Field number for the "volumeUpdates" field.
public const int VolumeUpdatesFieldNumber = 3
Field Value
Properties
ArtworkUpdates
public bool ArtworkUpdates { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasArtworkUpdates
Gets whether the "artworkUpdates" field is set
public bool HasArtworkUpdates { get; }
Property Value
HasKeyboardUpdates
Gets whether the "keyboardUpdates" field is set
public bool HasKeyboardUpdates { get; }
Property Value
HasNowPlayingUpdates
Gets whether the "nowPlayingUpdates" field is set
public bool HasNowPlayingUpdates { get; }
Property Value
HasOutputDeviceUpdates
Gets whether the "outputDeviceUpdates" field is set
public bool HasOutputDeviceUpdates { get; }
Property Value
HasVolumeUpdates
Gets whether the "volumeUpdates" field is set
public bool HasVolumeUpdates { get; }
Property Value
KeyboardUpdates
public bool KeyboardUpdates { get; set; }
Property Value
NowPlayingUpdates
public bool NowPlayingUpdates { get; set; }
Property Value
OutputDeviceUpdates
public bool OutputDeviceUpdates { get; set; }
Property Value
Parser
public static MessageParser<ClientUpdatesConfigMessage> Parser { get; }
Property Value
- MessageParser<ClientUpdatesConfigMessage>
VolumeUpdates
public bool VolumeUpdates { 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.
ClearArtworkUpdates()
Clears the value of the "artworkUpdates" field
public void ClearArtworkUpdates()
ClearKeyboardUpdates()
Clears the value of the "keyboardUpdates" field
public void ClearKeyboardUpdates()
ClearNowPlayingUpdates()
Clears the value of the "nowPlayingUpdates" field
public void ClearNowPlayingUpdates()
ClearOutputDeviceUpdates()
Clears the value of the "outputDeviceUpdates" field
public void ClearOutputDeviceUpdates()
ClearVolumeUpdates()
Clears the value of the "volumeUpdates" field
public void ClearVolumeUpdates()
Clone()
Creates a deep clone of this object.
public ClientUpdatesConfigMessage Clone()
Returns
- ClientUpdatesConfigMessage
A deep clone of this object.
Equals(ClientUpdatesConfigMessage)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ClientUpdatesConfigMessage other)
Parameters
otherClientUpdatesConfigMessageAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(ClientUpdatesConfigMessage)
Merges the given message into this one.
public void MergeFrom(ClientUpdatesConfigMessage other)
Parameters
Remarks
See the user guide for precise merge semantics.
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.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
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.