public final class CommandResponse extends com.google.protobuf.GeneratedMessageV3 implements CommandResponseOrBuilder
Message representing the result of Command Handler executionProtobuf type
io.axoniq.axonserver.grpc.command.CommandResponse| Modifier and Type | Class and Description |
|---|---|
static class |
CommandResponse.Builder
Message representing the result of Command Handler execution
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_CODE_FIELD_NUMBER |
static int |
ERROR_MESSAGE_FIELD_NUMBER |
static int |
MESSAGE_IDENTIFIER_FIELD_NUMBER |
static int |
META_DATA_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
PROCESSING_INSTRUCTIONS_FIELD_NUMBER |
static int |
REQUEST_IDENTIFIER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetaData(String key)
Any meta data entries providing contextual information back to the dispatcher
|
boolean |
equals(Object obj) |
static CommandResponse |
getDefaultInstance() |
CommandResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getErrorCode()
An error code describing the error, if any
|
com.google.protobuf.ByteString |
getErrorCodeBytes()
An error code describing the error, if any
|
ErrorMessage |
getErrorMessage()
A detailed description of the error
|
ErrorMessageOrBuilder |
getErrorMessageOrBuilder()
A detailed description of the error
|
String |
getMessageIdentifier()
The unique identifier of the response message
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
The unique identifier of the response message
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
Any meta data entries providing contextual information back to the dispatcher
|
Map<String,MetaDataValue> |
getMetaDataMap()
Any meta data entries providing contextual information back to the dispatcher
|
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
Any meta data entries providing contextual information back to the dispatcher
|
MetaDataValue |
getMetaDataOrThrow(String key)
Any meta data entries providing contextual information back to the dispatcher
|
com.google.protobuf.Parser<CommandResponse> |
getParserForType() |
SerializedObject |
getPayload()
The payload to provide as a result to the dispatcher
|
SerializedObjectOrBuilder |
getPayloadOrBuilder()
The payload to provide as a result to the dispatcher
|
ProcessingInstruction |
getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Response Message
|
int |
getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Response Message
|
List<ProcessingInstruction> |
getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Response Message
|
ProcessingInstructionOrBuilder |
getProcessingInstructionsOrBuilder(int index)
Instructions for AxonServer when routing this Command Response Message
|
List<? extends ProcessingInstructionOrBuilder> |
getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Response Message
|
String |
getRequestIdentifier()
The unique identifier of the Command Message for which this is the response
|
com.google.protobuf.ByteString |
getRequestIdentifierBytes()
The unique identifier of the Command Message for which this is the response
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasErrorMessage()
A detailed description of the error
|
int |
hashCode() |
boolean |
hasPayload()
The payload to provide as a result to the dispatcher
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static CommandResponse.Builder |
newBuilder() |
static CommandResponse.Builder |
newBuilder(CommandResponse prototype) |
CommandResponse.Builder |
newBuilderForType() |
protected CommandResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CommandResponse |
parseDelimitedFrom(InputStream input) |
static CommandResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(byte[] data) |
static CommandResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(ByteBuffer data) |
static CommandResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(com.google.protobuf.ByteString data) |
static CommandResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CommandResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommandResponse |
parseFrom(InputStream input) |
static CommandResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CommandResponse> |
parser() |
CommandResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MESSAGE_IDENTIFIER_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
public static final int PROCESSING_INSTRUCTIONS_FIELD_NUMBER
public static final int REQUEST_IDENTIFIER_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getMessageIdentifier()
The unique identifier of the response message
string message_identifier = 1;getMessageIdentifier in interface CommandResponseOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the response message
string message_identifier = 1;getMessageIdentifierBytes in interface CommandResponseOrBuilderpublic String getErrorCode()
An error code describing the error, if any
string error_code = 2;getErrorCode in interface CommandResponseOrBuilderpublic com.google.protobuf.ByteString getErrorCodeBytes()
An error code describing the error, if any
string error_code = 2;getErrorCodeBytes in interface CommandResponseOrBuilderpublic boolean hasErrorMessage()
A detailed description of the error
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;hasErrorMessage in interface CommandResponseOrBuilderpublic ErrorMessage getErrorMessage()
A detailed description of the error
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;getErrorMessage in interface CommandResponseOrBuilderpublic ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;getErrorMessageOrBuilder in interface CommandResponseOrBuilderpublic boolean hasPayload()
The payload to provide as a result to the dispatcher
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;hasPayload in interface CommandResponseOrBuilderpublic SerializedObject getPayload()
The payload to provide as a result to the dispatcher
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayload in interface CommandResponseOrBuilderpublic SerializedObjectOrBuilder getPayloadOrBuilder()
The payload to provide as a result to the dispatcher
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayloadOrBuilder in interface CommandResponseOrBuilderpublic int getMetaDataCount()
CommandResponseOrBuilderAny meta data entries providing contextual information back to the dispatcher
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataCount in interface CommandResponseOrBuilderpublic boolean containsMetaData(String key)
Any meta data entries providing contextual information back to the dispatcher
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;containsMetaData in interface CommandResponseOrBuilder@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap() instead.getMetaData in interface CommandResponseOrBuilderpublic Map<String,MetaDataValue> getMetaDataMap()
Any meta data entries providing contextual information back to the dispatcher
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataMap in interface CommandResponseOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Any meta data entries providing contextual information back to the dispatcher
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrDefault in interface CommandResponseOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
Any meta data entries providing contextual information back to the dispatcher
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrThrow in interface CommandResponseOrBuilderpublic List<ProcessingInstruction> getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsList in interface CommandResponseOrBuilderpublic List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsOrBuilderList in interface CommandResponseOrBuilderpublic int getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsCount in interface CommandResponseOrBuilderpublic ProcessingInstruction getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructions in interface CommandResponseOrBuilderpublic ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;getProcessingInstructionsOrBuilder in interface CommandResponseOrBuilderpublic String getRequestIdentifier()
The unique identifier of the Command Message for which this is the response
string request_identifier = 7;getRequestIdentifier in interface CommandResponseOrBuilderpublic com.google.protobuf.ByteString getRequestIdentifierBytes()
The unique identifier of the Command Message for which this is the response
string request_identifier = 7;getRequestIdentifierBytes in interface CommandResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CommandResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CommandResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static CommandResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommandResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CommandResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommandResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CommandResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CommandResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CommandResponse.Builder newBuilder()
public static CommandResponse.Builder newBuilder(CommandResponse prototype)
public CommandResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CommandResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CommandResponse getDefaultInstance()
public static com.google.protobuf.Parser<CommandResponse> parser()
public com.google.protobuf.Parser<CommandResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CommandResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2010–2020. All rights reserved.