- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.query.QueryResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryResponseOrBuilder,Serializable
@Generated public final class QueryResponse extends com.google.protobuf.GeneratedMessage implements QueryResponseOrBuilder
Message that represents the Response to a Query
Protobuf typeio.axoniq.axonserver.grpc.query.QueryResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryResponse.BuilderMessage that represents the Response to a Query-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intERROR_CODE_FIELD_NUMBERstatic intERROR_MESSAGE_FIELD_NUMBERstatic intMESSAGE_IDENTIFIER_FIELD_NUMBERstatic intMETA_DATA_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intPROCESSING_INSTRUCTIONS_FIELD_NUMBERstatic intREQUEST_IDENTIFIER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)Any Meta Data describing the context of the Response Messagebooleanequals(Object obj)static QueryResponsegetDefaultInstance()QueryResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetErrorCode()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 Messagecom.google.protobuf.Parser<QueryResponse>getParserForType()SerializedObjectgetPayload()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 responseintgetSerializedSize()booleanhasErrorMessage()A detailed description of the error, if anyinthashCode()booleanhasPayload()The Payload of the Response Messageprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static QueryResponse.BuildernewBuilder()static QueryResponse.BuildernewBuilder(QueryResponse prototype)QueryResponse.BuildernewBuilderForType()protected QueryResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static QueryResponseparseDelimitedFrom(InputStream input)static QueryResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryResponseparseFrom(byte[] data)static QueryResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryResponseparseFrom(com.google.protobuf.ByteString data)static QueryResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryResponseparseFrom(com.google.protobuf.CodedInputStream input)static QueryResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryResponseparseFrom(InputStream input)static QueryResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryResponseparseFrom(ByteBuffer data)static QueryResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QueryResponse>parser()QueryResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MESSAGE_IDENTIFIER_FIELD_NUMBER
public static final int MESSAGE_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
META_DATA_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSING_INSTRUCTIONS_FIELD_NUMBER
public static final int PROCESSING_INSTRUCTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_IDENTIFIER_FIELD_NUMBER
public static final int REQUEST_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMessageIdentifier
public String getMessageIdentifier()
The unique identifier of the Response Message
string message_identifier = 1;- Specified by:
getMessageIdentifierin interfaceQueryResponseOrBuilder- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the Response Message
string message_identifier = 1;- Specified by:
getMessageIdentifierBytesin interfaceQueryResponseOrBuilder- Returns:
- The bytes for messageIdentifier.
-
getErrorCode
public String getErrorCode()
An Error Code identifying the type of error, if any
string error_code = 2;- Specified by:
getErrorCodein interfaceQueryResponseOrBuilder- Returns:
- The errorCode.
-
getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()
An Error Code identifying the type of error, if any
string error_code = 2;- Specified by:
getErrorCodeBytesin interfaceQueryResponseOrBuilder- Returns:
- The bytes for errorCode.
-
hasErrorMessage
public boolean hasErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Specified by:
hasErrorMessagein interfaceQueryResponseOrBuilder- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
public ErrorMessage getErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Specified by:
getErrorMessagein interfaceQueryResponseOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageOrBuilder
public ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;- Specified by:
getErrorMessageOrBuilderin interfaceQueryResponseOrBuilder
-
hasPayload
public boolean hasPayload()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Specified by:
hasPayloadin interfaceQueryResponseOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public SerializedObject getPayload()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Specified by:
getPayloadin interfaceQueryResponseOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Specified by:
getPayloadOrBuilderin interfaceQueryResponseOrBuilder
-
getMetaDataCount
public int getMetaDataCount()
Description copied from interface:QueryResponseOrBuilderAny Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataCountin interfaceQueryResponseOrBuilder
-
containsMetaData
public boolean containsMetaData(String key)
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
containsMetaDatain interfaceQueryResponseOrBuilder
-
getMetaData
@Deprecated public Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.- Specified by:
getMetaDatain interfaceQueryResponseOrBuilder
-
getMetaDataMap
public Map<String,MetaDataValue> getMetaDataMap()
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataMapin interfaceQueryResponseOrBuilder
-
getMetaDataOrDefault
public 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;- Specified by:
getMetaDataOrDefaultin interfaceQueryResponseOrBuilder
-
getMetaDataOrThrow
public MetaDataValue getMetaDataOrThrow(String key)
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataOrThrowin interfaceQueryResponseOrBuilder
-
getProcessingInstructionsList
public List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;- Specified by:
getProcessingInstructionsListin interfaceQueryResponseOrBuilder
-
getProcessingInstructionsOrBuilderList
public List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;- Specified by:
getProcessingInstructionsOrBuilderListin interfaceQueryResponseOrBuilder
-
getProcessingInstructionsCount
public int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;- Specified by:
getProcessingInstructionsCountin interfaceQueryResponseOrBuilder
-
getProcessingInstructions
public ProcessingInstruction getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;- Specified by:
getProcessingInstructionsin interfaceQueryResponseOrBuilder
-
getProcessingInstructionsOrBuilder
public ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;- Specified by:
getProcessingInstructionsOrBuilderin interfaceQueryResponseOrBuilder
-
getRequestIdentifier
public String getRequestIdentifier()
The unique identifier of the Query to which this is a response
string request_identifier = 7;- Specified by:
getRequestIdentifierin interfaceQueryResponseOrBuilder- Returns:
- The requestIdentifier.
-
getRequestIdentifierBytes
public com.google.protobuf.ByteString getRequestIdentifierBytes()
The unique identifier of the Query to which this is a response
string request_identifier = 7;- Specified by:
getRequestIdentifierBytesin interfaceQueryResponseOrBuilder- Returns:
- The bytes for requestIdentifier.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QueryResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public QueryResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static QueryResponse.Builder newBuilder()
-
newBuilder
public static QueryResponse.Builder newBuilder(QueryResponse prototype)
-
toBuilder
public QueryResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueryResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static QueryResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QueryResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<QueryResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public QueryResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-