public final class QueryResponse extends com.google.protobuf.GeneratedMessageV3 implements QueryResponseOrBuilder
Message that represents the Response to a QueryProtobuf type
io.axoniq.axonserver.grpc.query.QueryResponse
Modifier and Type | Class and Description |
---|---|
static class |
QueryResponse.Builder
Message that represents the Response to a Query
|
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 describing the context of the Response Message
|
boolean |
equals(Object obj) |
static QueryResponse |
getDefaultInstance() |
QueryResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getErrorCode()
An Error Code identifying the type of error, if any
|
com.google.protobuf.ByteString |
getErrorCodeBytes()
An Error Code identifying the type of error, if any
|
ErrorMessage |
getErrorMessage()
A detailed description of the error, if any
|
ErrorMessageOrBuilder |
getErrorMessageOrBuilder()
A detailed description of the error, if any
|
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 describing the context of the Response Message
|
Map<String,MetaDataValue> |
getMetaDataMap()
Any Meta Data describing the context of the Response Message
|
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
Any Meta Data describing the context of the Response Message
|
MetaDataValue |
getMetaDataOrThrow(String key)
Any Meta Data describing the context of the Response Message
|
com.google.protobuf.Parser<QueryResponse> |
getParserForType() |
SerializedObject |
getPayload()
The Payload of the Response Message
|
SerializedObjectOrBuilder |
getPayloadOrBuilder()
The Payload of the Response Message
|
ProcessingInstruction |
getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Response Message
|
int |
getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Response Message
|
List<ProcessingInstruction> |
getProcessingInstructionsList()
Any instructions for components Routing or Handling the Response Message
|
ProcessingInstructionOrBuilder |
getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Response Message
|
List<? extends ProcessingInstructionOrBuilder> |
getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Response Message
|
String |
getRequestIdentifier()
The unique identifier of the Query to which this is a response
|
com.google.protobuf.ByteString |
getRequestIdentifierBytes()
The unique identifier of the Query to which this is a response
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasErrorMessage()
A detailed description of the error, if any
|
int |
hashCode() |
boolean |
hasPayload()
The Payload of the Response Message
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static QueryResponse.Builder |
newBuilder() |
static QueryResponse.Builder |
newBuilder(QueryResponse prototype) |
QueryResponse.Builder |
newBuilderForType() |
protected QueryResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static QueryResponse |
parseDelimitedFrom(InputStream input) |
static QueryResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResponse |
parseFrom(byte[] data) |
static QueryResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResponse |
parseFrom(ByteBuffer data) |
static QueryResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResponse |
parseFrom(com.google.protobuf.ByteString data) |
static QueryResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryResponse |
parseFrom(InputStream input) |
static QueryResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryResponse> |
parser() |
QueryResponse.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getMessageIdentifier()
The unique identifier of the Response Message
string message_identifier = 1;
getMessageIdentifier
in interface QueryResponseOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of the Response Message
string message_identifier = 1;
getMessageIdentifierBytes
in interface QueryResponseOrBuilder
public String getErrorCode()
An Error Code identifying the type of error, if any
string error_code = 2;
getErrorCode
in interface QueryResponseOrBuilder
public com.google.protobuf.ByteString getErrorCodeBytes()
An Error Code identifying the type of error, if any
string error_code = 2;
getErrorCodeBytes
in interface QueryResponseOrBuilder
public boolean hasErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
hasErrorMessage
in interface QueryResponseOrBuilder
public ErrorMessage getErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
getErrorMessage
in interface QueryResponseOrBuilder
public ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 3;
getErrorMessageOrBuilder
in interface QueryResponseOrBuilder
public boolean hasPayload()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
hasPayload
in interface QueryResponseOrBuilder
public SerializedObject getPayload()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayload
in interface QueryResponseOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Response Message
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayloadOrBuilder
in interface QueryResponseOrBuilder
public int getMetaDataCount()
QueryResponseOrBuilder
Any Meta Data describing the context of the Response Message
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataCount
in interface QueryResponseOrBuilder
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;
containsMetaData
in interface QueryResponseOrBuilder
@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap()
instead.getMetaData
in interface QueryResponseOrBuilder
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;
getMetaDataMap
in interface QueryResponseOrBuilder
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;
getMetaDataOrDefault
in interface QueryResponseOrBuilder
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;
getMetaDataOrThrow
in interface QueryResponseOrBuilder
public List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsList
in interface QueryResponseOrBuilder
public List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilderList
in interface QueryResponseOrBuilder
public int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsCount
in interface QueryResponseOrBuilder
public ProcessingInstruction getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructions
in interface QueryResponseOrBuilder
public ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Response Message
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilder
in interface QueryResponseOrBuilder
public String getRequestIdentifier()
The unique identifier of the Query to which this is a response
string request_identifier = 7;
getRequestIdentifier
in interface QueryResponseOrBuilder
public com.google.protobuf.ByteString getRequestIdentifierBytes()
The unique identifier of the Query to which this is a response
string request_identifier = 7;
getRequestIdentifierBytes
in interface QueryResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static QueryResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryResponse parseFrom(InputStream input) throws IOException
IOException
public static QueryResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QueryResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static QueryResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QueryResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static QueryResponse.Builder newBuilder()
public static QueryResponse.Builder newBuilder(QueryResponse prototype)
public QueryResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected QueryResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static QueryResponse getDefaultInstance()
public static com.google.protobuf.Parser<QueryResponse> parser()
public com.google.protobuf.Parser<QueryResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public QueryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2020. All rights reserved.