public static final class Ola.RDMResponse extends com.google.protobuf.GeneratedMessage implements Ola.RDMResponseOrBuilder
ola.proto.RDMResponse
Modifier and Type | Class and Description |
---|---|
static class |
Ola.RDMResponse.Builder
Protobuf type
ola.proto.RDMResponse |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND_CLASS_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
DEST_UID_FIELD_NUMBER |
static int |
MESSAGE_COUNT_FIELD_NUMBER |
static int |
PARAM_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<Ola.RDMResponse> |
PARSER |
static int |
RAW_FRAME_FIELD_NUMBER |
static int |
RAW_RESPONSE_FIELD_NUMBER |
static int |
RESPONSE_CODE_FIELD_NUMBER |
static int |
RESPONSE_TYPE_FIELD_NUMBER |
static int |
SOURCE_UID_FIELD_NUMBER |
static int |
SUB_DEVICE_FIELD_NUMBER |
static int |
TRANSACTION_NUMBER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
Ola.RDMCommandClass |
getCommandClass()
optional .ola.proto.RDMCommandClass command_class = 6; |
com.google.protobuf.ByteString |
getData()
optional bytes data = 4 [default = ""]; |
static Ola.RDMResponse |
getDefaultInstance() |
Ola.RDMResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Ola.UID |
getDestUid()
optional .ola.proto.UID dest_uid = 10; |
Ola.UIDOrBuilder |
getDestUidOrBuilder()
optional .ola.proto.UID dest_uid = 10; |
int |
getMessageCount()
optional uint32 message_count = 3 [default = 0]; |
int |
getParamId()
optional uint32 param_id = 5; |
com.google.protobuf.Parser<Ola.RDMResponse> |
getParserForType() |
Ola.RDMFrame |
getRawFrame(int index)
repeated .ola.proto.RDMFrame raw_frame = 12; |
int |
getRawFrameCount()
repeated .ola.proto.RDMFrame raw_frame = 12; |
List<Ola.RDMFrame> |
getRawFrameList()
repeated .ola.proto.RDMFrame raw_frame = 12; |
Ola.RDMFrameOrBuilder |
getRawFrameOrBuilder(int index)
repeated .ola.proto.RDMFrame raw_frame = 12; |
List<? extends Ola.RDMFrameOrBuilder> |
getRawFrameOrBuilderList()
repeated .ola.proto.RDMFrame raw_frame = 12; |
com.google.protobuf.ByteString |
getRawResponse(int index)
repeated bytes raw_response = 8; |
int |
getRawResponseCount()
repeated bytes raw_response = 8; |
List<com.google.protobuf.ByteString> |
getRawResponseList()
repeated bytes raw_response = 8; |
Ola.RDMResponseCode |
getResponseCode()
required .ola.proto.RDMResponseCode response_code = 1; |
Ola.RDMResponseType |
getResponseType()
optional .ola.proto.RDMResponseType response_type = 2; |
int |
getSerializedSize() |
Ola.UID |
getSourceUid()
optional .ola.proto.UID source_uid = 9; |
Ola.UIDOrBuilder |
getSourceUidOrBuilder()
optional .ola.proto.UID source_uid = 9; |
int |
getSubDevice()
optional uint32 sub_device = 7; |
int |
getTransactionNumber()
optional int32 transaction_number = 11; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCommandClass()
optional .ola.proto.RDMCommandClass command_class = 6; |
boolean |
hasData()
optional bytes data = 4 [default = ""]; |
boolean |
hasDestUid()
optional .ola.proto.UID dest_uid = 10; |
boolean |
hasMessageCount()
optional uint32 message_count = 3 [default = 0]; |
boolean |
hasParamId()
optional uint32 param_id = 5; |
boolean |
hasResponseCode()
required .ola.proto.RDMResponseCode response_code = 1; |
boolean |
hasResponseType()
optional .ola.proto.RDMResponseType response_type = 2; |
boolean |
hasSourceUid()
optional .ola.proto.UID source_uid = 9; |
boolean |
hasSubDevice()
optional uint32 sub_device = 7; |
boolean |
hasTransactionNumber()
optional int32 transaction_number = 11; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Ola.RDMResponse.Builder |
newBuilder() |
static Ola.RDMResponse.Builder |
newBuilder(Ola.RDMResponse prototype) |
Ola.RDMResponse.Builder |
newBuilderForType() |
protected Ola.RDMResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Ola.RDMResponse |
parseDelimitedFrom(InputStream input) |
static Ola.RDMResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Ola.RDMResponse |
parseFrom(byte[] data) |
static Ola.RDMResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Ola.RDMResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Ola.RDMResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Ola.RDMResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Ola.RDMResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Ola.RDMResponse |
parseFrom(InputStream input) |
static Ola.RDMResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Ola.RDMResponse.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Ola.RDMResponse> PARSER
public static final int RESPONSE_CODE_FIELD_NUMBER
public static final int SOURCE_UID_FIELD_NUMBER
public static final int DEST_UID_FIELD_NUMBER
public static final int TRANSACTION_NUMBER_FIELD_NUMBER
public static final int RESPONSE_TYPE_FIELD_NUMBER
public static final int MESSAGE_COUNT_FIELD_NUMBER
public static final int SUB_DEVICE_FIELD_NUMBER
public static final int COMMAND_CLASS_FIELD_NUMBER
public static final int PARAM_ID_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int RAW_RESPONSE_FIELD_NUMBER
public static final int RAW_FRAME_FIELD_NUMBER
public static Ola.RDMResponse getDefaultInstance()
public Ola.RDMResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Ola.RDMResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasResponseCode()
required .ola.proto.RDMResponseCode response_code = 1;
hasResponseCode
in interface Ola.RDMResponseOrBuilder
public Ola.RDMResponseCode getResponseCode()
required .ola.proto.RDMResponseCode response_code = 1;
getResponseCode
in interface Ola.RDMResponseOrBuilder
public boolean hasSourceUid()
optional .ola.proto.UID source_uid = 9;
hasSourceUid
in interface Ola.RDMResponseOrBuilder
public Ola.UID getSourceUid()
optional .ola.proto.UID source_uid = 9;
getSourceUid
in interface Ola.RDMResponseOrBuilder
public Ola.UIDOrBuilder getSourceUidOrBuilder()
optional .ola.proto.UID source_uid = 9;
getSourceUidOrBuilder
in interface Ola.RDMResponseOrBuilder
public boolean hasDestUid()
optional .ola.proto.UID dest_uid = 10;
hasDestUid
in interface Ola.RDMResponseOrBuilder
public Ola.UID getDestUid()
optional .ola.proto.UID dest_uid = 10;
getDestUid
in interface Ola.RDMResponseOrBuilder
public Ola.UIDOrBuilder getDestUidOrBuilder()
optional .ola.proto.UID dest_uid = 10;
getDestUidOrBuilder
in interface Ola.RDMResponseOrBuilder
public boolean hasTransactionNumber()
optional int32 transaction_number = 11;
hasTransactionNumber
in interface Ola.RDMResponseOrBuilder
public int getTransactionNumber()
optional int32 transaction_number = 11;
getTransactionNumber
in interface Ola.RDMResponseOrBuilder
public boolean hasResponseType()
optional .ola.proto.RDMResponseType response_type = 2;
ACK, NACK or TIMER
hasResponseType
in interface Ola.RDMResponseOrBuilder
public Ola.RDMResponseType getResponseType()
optional .ola.proto.RDMResponseType response_type = 2;
ACK, NACK or TIMER
getResponseType
in interface Ola.RDMResponseOrBuilder
public boolean hasMessageCount()
optional uint32 message_count = 3 [default = 0];
hasMessageCount
in interface Ola.RDMResponseOrBuilder
public int getMessageCount()
optional uint32 message_count = 3 [default = 0];
getMessageCount
in interface Ola.RDMResponseOrBuilder
public boolean hasSubDevice()
optional uint32 sub_device = 7;
the sub device
hasSubDevice
in interface Ola.RDMResponseOrBuilder
public int getSubDevice()
optional uint32 sub_device = 7;
the sub device
getSubDevice
in interface Ola.RDMResponseOrBuilder
public boolean hasCommandClass()
optional .ola.proto.RDMCommandClass command_class = 6;
the command class
hasCommandClass
in interface Ola.RDMResponseOrBuilder
public Ola.RDMCommandClass getCommandClass()
optional .ola.proto.RDMCommandClass command_class = 6;
the command class
getCommandClass
in interface Ola.RDMResponseOrBuilder
public boolean hasParamId()
optional uint32 param_id = 5;
the param id, required for queued messages
hasParamId
in interface Ola.RDMResponseOrBuilder
public int getParamId()
optional uint32 param_id = 5;
the param id, required for queued messages
getParamId
in interface Ola.RDMResponseOrBuilder
public boolean hasData()
optional bytes data = 4 [default = ""];
0 - 231 bytes
hasData
in interface Ola.RDMResponseOrBuilder
public com.google.protobuf.ByteString getData()
optional bytes data = 4 [default = ""];
0 - 231 bytes
getData
in interface Ola.RDMResponseOrBuilder
public List<com.google.protobuf.ByteString> getRawResponseList()
repeated bytes raw_response = 8;
deprecated
getRawResponseList
in interface Ola.RDMResponseOrBuilder
public int getRawResponseCount()
repeated bytes raw_response = 8;
deprecated
getRawResponseCount
in interface Ola.RDMResponseOrBuilder
public com.google.protobuf.ByteString getRawResponse(int index)
repeated bytes raw_response = 8;
deprecated
getRawResponse
in interface Ola.RDMResponseOrBuilder
public List<Ola.RDMFrame> getRawFrameList()
repeated .ola.proto.RDMFrame raw_frame = 12;
getRawFrameList
in interface Ola.RDMResponseOrBuilder
public List<? extends Ola.RDMFrameOrBuilder> getRawFrameOrBuilderList()
repeated .ola.proto.RDMFrame raw_frame = 12;
getRawFrameOrBuilderList
in interface Ola.RDMResponseOrBuilder
public int getRawFrameCount()
repeated .ola.proto.RDMFrame raw_frame = 12;
getRawFrameCount
in interface Ola.RDMResponseOrBuilder
public Ola.RDMFrame getRawFrame(int index)
repeated .ola.proto.RDMFrame raw_frame = 12;
getRawFrame
in interface Ola.RDMResponseOrBuilder
public Ola.RDMFrameOrBuilder getRawFrameOrBuilder(int index)
repeated .ola.proto.RDMFrame raw_frame = 12;
getRawFrameOrBuilder
in interface Ola.RDMResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Ola.RDMResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Ola.RDMResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Ola.RDMResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Ola.RDMResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Ola.RDMResponse parseFrom(InputStream input) throws IOException
IOException
public static Ola.RDMResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Ola.RDMResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Ola.RDMResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Ola.RDMResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Ola.RDMResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Ola.RDMResponse.Builder newBuilder()
public Ola.RDMResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Ola.RDMResponse.Builder newBuilder(Ola.RDMResponse prototype)
public Ola.RDMResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Ola.RDMResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.