Class AVEndpointDescriptor
- Namespace
- AppleTvControlLibrary.Mrp.Protobuf
- Assembly
- AppleTvControlLibrary.Mrp.dll
public sealed class AVEndpointDescriptor : IMessage<AVEndpointDescriptor>, IEquatable<AVEndpointDescriptor>, IDeepCloneable<AVEndpointDescriptor>, IBufferMessage, IMessage
- Inheritance
-
AVEndpointDescriptor
- Implements
-
IMessage<AVEndpointDescriptor>IDeepCloneable<AVEndpointDescriptor>IBufferMessageIMessage
- Inherited Members
Constructors
AVEndpointDescriptor()
public AVEndpointDescriptor()
AVEndpointDescriptor(AVEndpointDescriptor)
public AVEndpointDescriptor(AVEndpointDescriptor other)
Parameters
otherAVEndpointDescriptor
Fields
CanModifyGroupMembershipFieldNumber
Field number for the "canModifyGroupMembership" field.
public const int CanModifyGroupMembershipFieldNumber = 9
Field Value
ConnectionTypeFieldNumber
Field number for the "connectionType" field.
public const int ConnectionTypeFieldNumber = 8
Field Value
InstanceIdentifierFieldNumber
Field number for the "instanceIdentifier" field.
public const int InstanceIdentifierFieldNumber = 6
Field Value
IsLocalEndpointFieldNumber
Field number for the "isLocalEndpoint" field.
public const int IsLocalEndpointFieldNumber = 5
Field Value
IsProxyGroupPlayerFieldNumber
Field number for the "isProxyGroupPlayer" field.
public const int IsProxyGroupPlayerFieldNumber = 7
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 1
Field Value
UniqueIdentifierFieldNumber
Field number for the "uniqueIdentifier" field.
public const int UniqueIdentifierFieldNumber = 2
Field Value
Properties
CanModifyGroupMembership
repeated ... _personalOutputDevices = 10;
public bool CanModifyGroupMembership { get; set; }
Property Value
ConnectionType
public int ConnectionType { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasCanModifyGroupMembership
Gets whether the "canModifyGroupMembership" field is set
public bool HasCanModifyGroupMembership { get; }
Property Value
HasConnectionType
Gets whether the "connectionType" field is set
public bool HasConnectionType { get; }
Property Value
HasInstanceIdentifier
Gets whether the "instanceIdentifier" field is set
public bool HasInstanceIdentifier { get; }
Property Value
HasIsLocalEndpoint
Gets whether the "isLocalEndpoint" field is set
public bool HasIsLocalEndpoint { get; }
Property Value
HasIsProxyGroupPlayer
Gets whether the "isProxyGroupPlayer" field is set
public bool HasIsProxyGroupPlayer { get; }
Property Value
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
HasUniqueIdentifier
Gets whether the "uniqueIdentifier" field is set
public bool HasUniqueIdentifier { get; }
Property Value
InstanceIdentifier
public string InstanceIdentifier { get; set; }
Property Value
IsLocalEndpoint
repeated ... outputDevices = 3; optional ... designatedGroupLeader = 4;
public bool IsLocalEndpoint { get; set; }
Property Value
IsProxyGroupPlayer
public bool IsProxyGroupPlayer { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static MessageParser<AVEndpointDescriptor> Parser { get; }
Property Value
- MessageParser<AVEndpointDescriptor>
UniqueIdentifier
public string UniqueIdentifier { 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.
ClearCanModifyGroupMembership()
Clears the value of the "canModifyGroupMembership" field
public void ClearCanModifyGroupMembership()
ClearConnectionType()
Clears the value of the "connectionType" field
public void ClearConnectionType()
ClearInstanceIdentifier()
Clears the value of the "instanceIdentifier" field
public void ClearInstanceIdentifier()
ClearIsLocalEndpoint()
Clears the value of the "isLocalEndpoint" field
public void ClearIsLocalEndpoint()
ClearIsProxyGroupPlayer()
Clears the value of the "isProxyGroupPlayer" field
public void ClearIsProxyGroupPlayer()
ClearName()
Clears the value of the "name" field
public void ClearName()
ClearUniqueIdentifier()
Clears the value of the "uniqueIdentifier" field
public void ClearUniqueIdentifier()
Clone()
Creates a deep clone of this object.
public AVEndpointDescriptor Clone()
Returns
- AVEndpointDescriptor
A deep clone of this object.
Equals(AVEndpointDescriptor)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AVEndpointDescriptor other)
Parameters
otherAVEndpointDescriptorAn 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(AVEndpointDescriptor)
Merges the given message into this one.
public void MergeFrom(AVEndpointDescriptor other)
Parameters
otherAVEndpointDescriptor
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.