Table of Contents

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
IDeepCloneable<SendCommandResultMessage>
IBufferMessage
IMessage
Inherited Members

Constructors

SendCommandResultMessage()

public SendCommandResultMessage()

SendCommandResultMessage(SendCommandResultMessage)

public SendCommandResultMessage(SendCommandResultMessage other)

Parameters

other SendCommandResultMessage

Fields

CommandIDFieldNumber

Field number for the "commandID" field.

public const int CommandIDFieldNumber = 4

Field Value

int

CommandResultFieldNumber

Field number for the "commandResult" field.

public const int CommandResultFieldNumber = 6

Field Value

int

HandlerReturnStatusDatasFieldNumber

Field number for the "handlerReturnStatusDatas" field.

public const int HandlerReturnStatusDatasFieldNumber = 3

Field Value

int

HandlerReturnStatusFieldNumber

Field number for the "handlerReturnStatus" field.

public const int HandlerReturnStatusFieldNumber = 2

Field Value

int

PlayerPathFieldNumber

Field number for the "playerPath" field.

public const int PlayerPathFieldNumber = 5

Field Value

int

SendErrorFieldNumber

Field number for the "sendError" field.

public const int SendErrorFieldNumber = 1

Field Value

int

Properties

CommandID

public string CommandID { get; set; }

Property Value

string

CommandResult

public SendCommandResult CommandResult { get; set; }

Property Value

SendCommandResult

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HandlerReturnStatus

public HandlerReturnStatus.Types.Enum HandlerReturnStatus { get; set; }

Property Value

HandlerReturnStatus.Types.Enum

HandlerReturnStatusDatas

public RepeatedField<ByteString> HandlerReturnStatusDatas { get; }

Property Value

RepeatedField<ByteString>

HasCommandID

Gets whether the "commandID" field is set

public bool HasCommandID { get; }

Property Value

bool

HasHandlerReturnStatus

Gets whether the "handlerReturnStatus" field is set

public bool HasHandlerReturnStatus { get; }

Property Value

bool

HasSendError

Gets whether the "sendError" field is set

public bool HasSendError { get; }

Property Value

bool

Parser

public static MessageParser<SendCommandResultMessage> Parser { get; }

Property Value

MessageParser<SendCommandResultMessage>

PlayerPath

public PlayerPath PlayerPath { get; set; }

Property Value

PlayerPath

SendError

public SendError.Types.Enum SendError { get; set; }

Property Value

SendError.Types.Enum

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

other SendCommandResultMessage

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

other SendCommandResultMessage

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

input CodedInputStream

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

output CodedOutputStream

Coded output stream to write the data to. Must not be null.