Interface CommandResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandResponse,CommandResponse.Builder
@Generated public interface CommandResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)Any meta data entries providing contextual information back to the dispatcherStringgetErrorCode()An error code describing the error, if anycom.google.protobuf.ByteStringgetErrorCodeBytes()An error code describing the error, if anyErrorMessagegetErrorMessage()A detailed description of the errorErrorMessageOrBuildergetErrorMessageOrBuilder()A detailed description of the errorStringgetMessageIdentifier()The unique identifier of the response messagecom.google.protobuf.ByteStringgetMessageIdentifierBytes()The unique identifier of the response messageMap<String,MetaDataValue>getMetaData()Deprecated.intgetMetaDataCount()Any meta data entries providing contextual information back to the dispatcherMap<String,MetaDataValue>getMetaDataMap()Any meta data entries providing contextual information back to the dispatcherMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)Any meta data entries providing contextual information back to the dispatcherMetaDataValuegetMetaDataOrThrow(String key)Any meta data entries providing contextual information back to the dispatcherSerializedObjectgetPayload()The payload to provide as a result to the dispatcherSerializedObjectOrBuildergetPayloadOrBuilder()The payload to provide as a result to the dispatcherProcessingInstructiongetProcessingInstructions(int index)Instructions for AxonServer when routing this Command Response MessageintgetProcessingInstructionsCount()Instructions for AxonServer when routing this Command Response MessageList<ProcessingInstruction>getProcessingInstructionsList()Instructions for AxonServer when routing this Command Response MessageProcessingInstructionOrBuildergetProcessingInstructionsOrBuilder(int index)Instructions for AxonServer when routing this Command Response MessageList<? extends ProcessingInstructionOrBuilder>getProcessingInstructionsOrBuilderList()Instructions for AxonServer when routing this Command Response MessageStringgetRequestIdentifier()The unique identifier of the Command Message for which this is the responsecom.google.protobuf.ByteStringgetRequestIdentifierBytes()The unique identifier of the Command Message for which this is the responsebooleanhasErrorMessage()A detailed description of the errorbooleanhasPayload()The payload to provide as a result to the dispatcher-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessageIdentifier
String getMessageIdentifier()
The unique identifier of the response message
string message_identifier = 1;- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the response message
string message_identifier = 1;- Returns:
- The bytes for messageIdentifier.
-
getErrorCode
String getErrorCode()
An error code describing the error, if any
string error_code = 2;- Returns:
- The errorCode.
-
getErrorCodeBytes
com.google.protobuf.ByteString getErrorCodeBytes()
An error code describing the error, if any
string error_code = 2;- Returns:
- The bytes for errorCode.
-
hasErrorMessage
boolean hasErrorMessage()
A detailed description of the error
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
ErrorMessage getErrorMessage()
A detailed description of the error
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Returns:
- The errorMessage.
-
getErrorMessageOrBuilder
ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
-
hasPayload
boolean hasPayload()
The payload to provide as a result to the dispatcher
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- Whether the payload field is set.
-
getPayload
SerializedObject getPayload()
The payload to provide as a result to the dispatcher
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- The payload.
-
getPayloadOrBuilder
SerializedObjectOrBuilder getPayloadOrBuilder()
The payload to provide as a result to the dispatcher
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
-
getMetaDataCount
int getMetaDataCount()
Any meta data entries providing contextual information back to the dispatcher
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
containsMetaData
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;
-
getMetaData
@Deprecated Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.
-
getMetaDataMap
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;
-
getMetaDataOrDefault
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;
-
getMetaDataOrThrow
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;
-
getProcessingInstructionsList
List<ProcessingInstruction> getProcessingInstructionsList()
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructions
ProcessingInstruction getProcessingInstructions(int index)
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsCount
int getProcessingInstructionsCount()
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsOrBuilderList
List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsOrBuilder
ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Instructions for AxonServer when routing this Command Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getRequestIdentifier
String getRequestIdentifier()
The unique identifier of the Command Message for which this is the response
string request_identifier = 7;- Returns:
- The requestIdentifier.
-
getRequestIdentifierBytes
com.google.protobuf.ByteString getRequestIdentifierBytes()
The unique identifier of the Command Message for which this is the response
string request_identifier = 7;- Returns:
- The bytes for requestIdentifier.
-
-