Class SendCommandResultMessage
- Namespace
- AppleTvControlLibrary.Mrp.Protobuf
- Assembly
- AppleTvControlLibrary.Mrp.dll
public sealed class SendCommandResultMessage : IMessage<SendCommandResultMessage>, IEquatable<SendCommandResultMessage>, IDeepCloneable<SendCommandResultMessage>, IBufferMessage, IMessage
- Inheritance
-
SendCommandResultMessage
- Implements
-
IMessage<SendCommandResultMessage>IDeepCloneable<SendCommandResultMessage>IBufferMessageIMessage
- Inherited Members
Constructors
SendCommandResultMessage()
public SendCommandResultMessage()
SendCommandResultMessage(SendCommandResultMessage)
public SendCommandResultMessage(SendCommandResultMessage other)
Parameters
otherSendCommandResultMessage
Fields
CommandIDFieldNumber
Field number for the "commandID" field.
public const int CommandIDFieldNumber = 4
Field Value
CommandResultFieldNumber
Field number for the "commandResult" field.
public const int CommandResultFieldNumber = 6
Field Value
HandlerReturnStatusDatasFieldNumber
Field number for the "handlerReturnStatusDatas" field.
public const int HandlerReturnStatusDatasFieldNumber = 3
Field Value
HandlerReturnStatusFieldNumber
Field number for the "handlerReturnStatus" field.
public const int HandlerReturnStatusFieldNumber = 2
Field Value
PlayerPathFieldNumber
Field number for the "playerPath" field.
public const int PlayerPathFieldNumber = 5
Field Value
SendErrorFieldNumber
Field number for the "sendError" field.
public const int SendErrorFieldNumber = 1
Field Value
Properties
CommandID
public string CommandID { get; set; }
Property Value
CommandResult
public SendCommandResult CommandResult { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HandlerReturnStatus
public HandlerReturnStatus.Types.Enum HandlerReturnStatus { get; set; }
Property Value
HandlerReturnStatusDatas
public RepeatedField<ByteString> HandlerReturnStatusDatas { get; }
Property Value
- RepeatedField<ByteString>
HasCommandID
Gets whether the "commandID" field is set
public bool HasCommandID { get; }
Property Value
HasHandlerReturnStatus
Gets whether the "handlerReturnStatus" field is set
public bool HasHandlerReturnStatus { get; }
Property Value
HasSendError
Gets whether the "sendError" field is set
public bool HasSendError { get; }
Property Value
Parser
public static MessageParser<SendCommandResultMessage> Parser { get; }
Property Value
- MessageParser<SendCommandResultMessage>
PlayerPath
public PlayerPath PlayerPath { get; set; }
Property Value
SendError
public SendError.Types.Enum SendError { 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.
ClearCommandID()
Clears the value of the "commandID" field
public void ClearCommandID()
ClearHandlerReturnStatus()
Clears the value of the "handlerReturnStatus" field
public void ClearHandlerReturnStatus()
ClearSendError()
Clears the value of the "sendError" field
public void ClearSendError()
Clone()
Creates a deep clone of this object.
public SendCommandResultMessage Clone()
Returns
- SendCommandResultMessage
A deep clone of this object.
Equals(SendCommandResultMessage)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SendCommandResultMessage other)
Parameters
otherSendCommandResultMessageAn 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(SendCommandResultMessage)
Merges the given message into this one.
public void MergeFrom(SendCommandResultMessage other)
Parameters
otherSendCommandResultMessage
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.