Package io.axoniq.axonserver.grpc.query
Interface QueryResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryResponse,QueryResponse.Builder
@Generated public interface QueryResponseOrBuilder 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 describing the context of the Response MessageStringgetErrorCode()An Error Code identifying the type of error, if anycom.google.protobuf.ByteStringgetErrorCodeBytes()An Error Code identifying the type of error, if anyErrorMessagegetErrorMessage()A detailed description of the error, if anyErrorMessageOrBuildergetErrorMessageOrBuilder()A detailed description of the error, if anyStringgetMessageIdentifier()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 describing the context of the Response MessageMap<String,MetaDataValue>getMetaDataMap()Any Meta Data describing the context of the Response MessageMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)Any Meta Data describing the context of the Response MessageMetaDataValuegetMetaDataOrThrow(String key)Any Meta Data describing the context of the Response MessageSerializedObjectgetPayload()The Payload of the Response MessageSerializedObjectOrBuildergetPayloadOrBuilder()The Payload of the Response MessageProcessingInstructiongetProcessingInstructions(int index)Any instructions for components Routing or Handling the Response MessageintgetProcessingInstructionsCount()Any instructions for components Routing or Handling the Response MessageList<ProcessingInstruction>getProcessingInstructionsList()Any instructions for components Routing or Handling the Response MessageProcessingInstructionOrBuildergetProcessingInstructionsOrBuilder(int index)Any instructions for components Routing or Handling the Response MessageList<? extends ProcessingInstructionOrBuilder>getProcessingInstructionsOrBuilderList()Any instructions for components Routing or Handling the Response MessageStringgetRequestIdentifier()The unique identifier of the Query to which this is a responsecom.google.protobuf.ByteStringgetRequestIdentifierBytes()The unique identifier of the Query to which this is a responsebooleanhasErrorMessage()A detailed description of the error, if anybooleanhasPayload()The Payload of the Response Message-
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 identifying the type of error, if any
string error_code = 2;- Returns:
- The errorCode.
-
getErrorCodeBytes
com.google.protobuf.ByteString getErrorCodeBytes()
An Error Code identifying the type of error, if any
string error_code = 2;- Returns:
- The bytes for errorCode.
-
hasErrorMessage
boolean hasErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
ErrorMessage getErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Returns:
- The errorMessage.
-
getErrorMessageOrBuilder
ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
-
hasPayload
boolean hasPayload()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- Whether the payload field is set.
-
getPayload
SerializedObject getPayload()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- The payload.
-
getPayloadOrBuilder
SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
-
getMetaDataCount
int getMetaDataCount()
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
containsMetaData
boolean containsMetaData(String key)
Any Meta Data describing the context of the Response Message
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 describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
getMetaDataOrDefault
MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
getMetaDataOrThrow
MetaDataValue getMetaDataOrThrow(String key)
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
getProcessingInstructionsList
List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructions
ProcessingInstruction getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsCount
int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsOrBuilderList
List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getProcessingInstructionsOrBuilder
ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
-
getRequestIdentifier
String getRequestIdentifier()
The unique identifier of the Query to which this is a response
string request_identifier = 7;- Returns:
- The requestIdentifier.
-
getRequestIdentifierBytes
com.google.protobuf.ByteString getRequestIdentifierBytes()
The unique identifier of the Query to which this is a response
string request_identifier = 7;- Returns:
- The bytes for requestIdentifier.
-
-