public final class QueryRequest extends com.google.protobuf.GeneratedMessageV3 implements QueryRequestOrBuilder
Message representing an incoming QueryProtobuf type
io.axoniq.axonserver.grpc.query.QueryRequest| Modifier and Type | Class and Description |
|---|---|
static class |
QueryRequest.Builder
Message representing an incoming 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 |
CLIENT_ID_FIELD_NUMBER |
static int |
COMPONENT_NAME_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 |
QUERY_FIELD_NUMBER |
static int |
RESPONSE_TYPE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetaData(String key)
Meta Data providing contextual information of the Query
|
boolean |
equals(Object obj) |
String |
getClientId()
The unique identifier of the client instance dispatching the query
|
com.google.protobuf.ByteString |
getClientIdBytes()
The unique identifier of the client instance dispatching the query
|
String |
getComponentName()
The Name of the Component dispatching the query
|
com.google.protobuf.ByteString |
getComponentNameBytes()
The Name of the Component dispatching the query
|
static QueryRequest |
getDefaultInstance() |
QueryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessageIdentifier()
The message ID of the incoming Query
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
The message ID of the incoming Query
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
Meta Data providing contextual information of the Query
|
Map<String,MetaDataValue> |
getMetaDataMap()
Meta Data providing contextual information of the Query
|
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
Meta Data providing contextual information of the Query
|
MetaDataValue |
getMetaDataOrThrow(String key)
Meta Data providing contextual information of the Query
|
com.google.protobuf.Parser<QueryRequest> |
getParserForType() |
SerializedObject |
getPayload()
A payload accompanying the Query
|
SerializedObjectOrBuilder |
getPayloadOrBuilder()
A payload accompanying the Query
|
ProcessingInstruction |
getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Query
|
int |
getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Query
|
List<ProcessingInstruction> |
getProcessingInstructionsList()
Any instructions for components Routing or Handling the Query
|
ProcessingInstructionOrBuilder |
getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Query
|
List<? extends ProcessingInstructionOrBuilder> |
getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Query
|
String |
getQuery()
The name of the Query to execute
|
com.google.protobuf.ByteString |
getQueryBytes()
The name of the Query to execute
|
SerializedObject |
getResponseType()
An object describing the expectations of the Response Type
|
SerializedObjectOrBuilder |
getResponseTypeOrBuilder()
An object describing the expectations of the Response Type
|
int |
getSerializedSize() |
long |
getTimestamp()
The timestamp of the Query creation
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPayload()
A payload accompanying the Query
|
boolean |
hasResponseType()
An object describing the expectations of the Response Type
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static QueryRequest.Builder |
newBuilder() |
static QueryRequest.Builder |
newBuilder(QueryRequest prototype) |
QueryRequest.Builder |
newBuilderForType() |
protected QueryRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static QueryRequest |
parseDelimitedFrom(InputStream input) |
static QueryRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryRequest |
parseFrom(byte[] data) |
static QueryRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryRequest |
parseFrom(ByteBuffer data) |
static QueryRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryRequest |
parseFrom(com.google.protobuf.ByteString data) |
static QueryRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryRequest |
parseFrom(InputStream input) |
static QueryRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryRequest> |
parser() |
QueryRequest.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 QUERY_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
public static final int RESPONSE_TYPE_FIELD_NUMBER
public static final int PROCESSING_INSTRUCTIONS_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
public static final int COMPONENT_NAME_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 message ID of the incoming Query
string message_identifier = 1;getMessageIdentifier in interface QueryRequestOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
The message ID of the incoming Query
string message_identifier = 1;getMessageIdentifierBytes in interface QueryRequestOrBuilderpublic String getQuery()
The name of the Query to execute
string query = 2;getQuery in interface QueryRequestOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
The name of the Query to execute
string query = 2;getQueryBytes in interface QueryRequestOrBuilderpublic long getTimestamp()
The timestamp of the Query creation
int64 timestamp = 3;getTimestamp in interface QueryRequestOrBuilderpublic boolean hasPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;hasPayload in interface QueryRequestOrBuilderpublic SerializedObject getPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayload in interface QueryRequestOrBuilderpublic SerializedObjectOrBuilder getPayloadOrBuilder()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;getPayloadOrBuilder in interface QueryRequestOrBuilderpublic int getMetaDataCount()
QueryRequestOrBuilderMeta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataCount in interface QueryRequestOrBuilderpublic boolean containsMetaData(String key)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;containsMetaData in interface QueryRequestOrBuilder@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap() instead.getMetaData in interface QueryRequestOrBuilderpublic Map<String,MetaDataValue> getMetaDataMap()
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataMap in interface QueryRequestOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrDefault in interface QueryRequestOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;getMetaDataOrThrow in interface QueryRequestOrBuilderpublic boolean hasResponseType()
An object describing the expectations of the Response Type
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6;hasResponseType in interface QueryRequestOrBuilderpublic SerializedObject getResponseType()
An object describing the expectations of the Response Type
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6;getResponseType in interface QueryRequestOrBuilderpublic SerializedObjectOrBuilder getResponseTypeOrBuilder()
An object describing the expectations of the Response Type
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6;getResponseTypeOrBuilder in interface QueryRequestOrBuilderpublic List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;getProcessingInstructionsList in interface QueryRequestOrBuilderpublic List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;getProcessingInstructionsOrBuilderList in interface QueryRequestOrBuilderpublic int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;getProcessingInstructionsCount in interface QueryRequestOrBuilderpublic ProcessingInstruction getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;getProcessingInstructions in interface QueryRequestOrBuilderpublic ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;getProcessingInstructionsOrBuilder in interface QueryRequestOrBuilderpublic String getClientId()
The unique identifier of the client instance dispatching the query
string client_id = 8;getClientId in interface QueryRequestOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the client instance dispatching the query
string client_id = 8;getClientIdBytes in interface QueryRequestOrBuilderpublic String getComponentName()
The Name of the Component dispatching the query
string component_name = 9;getComponentName in interface QueryRequestOrBuilderpublic com.google.protobuf.ByteString getComponentNameBytes()
The Name of the Component dispatching the query
string component_name = 9;getComponentNameBytes in interface QueryRequestOrBuilderpublic 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 QueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QueryRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static QueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QueryRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QueryRequest.Builder newBuilder()
public static QueryRequest.Builder newBuilder(QueryRequest prototype)
public QueryRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QueryRequest getDefaultInstance()
public static com.google.protobuf.Parser<QueryRequest> parser()
public com.google.protobuf.Parser<QueryRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QueryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2010–2020. All rights reserved.