- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.query.QueryRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryRequestOrBuilder,Serializable
@Generated public final class QueryRequest extends com.google.protobuf.GeneratedMessage implements QueryRequestOrBuilder
Message representing an incoming Query
Protobuf typeio.axoniq.axonserver.grpc.query.QueryRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryRequest.BuilderMessage representing an incoming 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 intCLIENT_ID_FIELD_NUMBERstatic intCOMPONENT_NAME_FIELD_NUMBERstatic intMESSAGE_IDENTIFIER_FIELD_NUMBERstatic intMETA_DATA_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intPROCESSING_INSTRUCTIONS_FIELD_NUMBERstatic intQUERY_FIELD_NUMBERstatic intRESPONSE_TYPE_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)Meta Data providing contextual information of the Querybooleanequals(Object obj)StringgetClientId()The unique identifier of the client instance dispatching the querycom.google.protobuf.ByteStringgetClientIdBytes()The unique identifier of the client instance dispatching the queryStringgetComponentName()The Name of the Component dispatching the querycom.google.protobuf.ByteStringgetComponentNameBytes()The Name of the Component dispatching the querystatic QueryRequestgetDefaultInstance()QueryRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMessageIdentifier()The message ID of the incoming Querycom.google.protobuf.ByteStringgetMessageIdentifierBytes()The message ID of the incoming QueryMap<String,MetaDataValue>getMetaData()Deprecated.intgetMetaDataCount()Meta Data providing contextual information of the QueryMap<String,MetaDataValue>getMetaDataMap()Meta Data providing contextual information of the QueryMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)Meta Data providing contextual information of the QueryMetaDataValuegetMetaDataOrThrow(String key)Meta Data providing contextual information of the Querycom.google.protobuf.Parser<QueryRequest>getParserForType()SerializedObjectgetPayload()A payload accompanying the QuerySerializedObjectOrBuildergetPayloadOrBuilder()A payload accompanying the QueryProcessingInstructiongetProcessingInstructions(int index)Any instructions for components Routing or Handling the QueryintgetProcessingInstructionsCount()Any instructions for components Routing or Handling the QueryList<ProcessingInstruction>getProcessingInstructionsList()Any instructions for components Routing or Handling the QueryProcessingInstructionOrBuildergetProcessingInstructionsOrBuilder(int index)Any instructions for components Routing or Handling the QueryList<? extends ProcessingInstructionOrBuilder>getProcessingInstructionsOrBuilderList()Any instructions for components Routing or Handling the QueryStringgetQuery()The name of the Query to executecom.google.protobuf.ByteStringgetQueryBytes()The name of the Query to executeSerializedObjectgetResponseType()Deprecated.io.axoniq.axonserver.grpc.query.QueryRequest.response_type is deprecated.SerializedObjectOrBuildergetResponseTypeOrBuilder()Deprecated.intgetSerializedSize()longgetTimestamp()The timestamp of the Query creationinthashCode()booleanhasPayload()A payload accompanying the QuerybooleanhasResponseType()Deprecated.io.axoniq.axonserver.grpc.query.QueryRequest.response_type is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static QueryRequest.BuildernewBuilder()static QueryRequest.BuildernewBuilder(QueryRequest prototype)QueryRequest.BuildernewBuilderForType()protected QueryRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static QueryRequestparseDelimitedFrom(InputStream input)static QueryRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryRequestparseFrom(byte[] data)static QueryRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryRequestparseFrom(com.google.protobuf.ByteString data)static QueryRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryRequestparseFrom(com.google.protobuf.CodedInputStream input)static QueryRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryRequestparseFrom(InputStream input)static QueryRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryRequestparseFrom(ByteBuffer data)static QueryRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QueryRequest>parser()QueryRequest.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
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_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
-
RESPONSE_TYPE_FIELD_NUMBER
public static final int RESPONSE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSING_INSTRUCTIONS_FIELD_NUMBER
public static final int PROCESSING_INSTRUCTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_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 message ID of the incoming Query
string message_identifier = 1;- Specified by:
getMessageIdentifierin interfaceQueryRequestOrBuilder- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The message ID of the incoming Query
string message_identifier = 1;- Specified by:
getMessageIdentifierBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for messageIdentifier.
-
getQuery
public String getQuery()
The name of the Query to execute
string query = 2;- Specified by:
getQueryin interfaceQueryRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
The name of the Query to execute
string query = 2;- Specified by:
getQueryBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for query.
-
getTimestamp
public long getTimestamp()
The timestamp of the Query creation
int64 timestamp = 3;- Specified by:
getTimestampin interfaceQueryRequestOrBuilder- Returns:
- The timestamp.
-
hasPayload
public boolean hasPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Specified by:
hasPayloadin interfaceQueryRequestOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public SerializedObject getPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Specified by:
getPayloadin interfaceQueryRequestOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Specified by:
getPayloadOrBuilderin interfaceQueryRequestOrBuilder
-
getMetaDataCount
public int getMetaDataCount()
Description copied from interface:QueryRequestOrBuilderMeta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataCountin interfaceQueryRequestOrBuilder
-
containsMetaData
public boolean containsMetaData(String key)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
containsMetaDatain interfaceQueryRequestOrBuilder
-
getMetaData
@Deprecated public Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.- Specified by:
getMetaDatain interfaceQueryRequestOrBuilder
-
getMetaDataMap
public Map<String,MetaDataValue> getMetaDataMap()
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataMapin interfaceQueryRequestOrBuilder
-
getMetaDataOrDefault
public MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataOrDefaultin interfaceQueryRequestOrBuilder
-
getMetaDataOrThrow
public MetaDataValue getMetaDataOrThrow(String key)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;- Specified by:
getMetaDataOrThrowin interfaceQueryRequestOrBuilder
-
hasResponseType
@Deprecated public boolean hasResponseType()
Deprecated.io.axoniq.axonserver.grpc.query.QueryRequest.response_type is deprecated. See query.proto;l=124An object describing the expectations of the Response Type. Deprecated. no longer used in Axon Framework 5
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6 [deprecated = true];- Specified by:
hasResponseTypein interfaceQueryRequestOrBuilder- Returns:
- Whether the responseType field is set.
-
getResponseType
@Deprecated public SerializedObject getResponseType()
Deprecated.io.axoniq.axonserver.grpc.query.QueryRequest.response_type is deprecated. See query.proto;l=124An object describing the expectations of the Response Type. Deprecated. no longer used in Axon Framework 5
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6 [deprecated = true];- Specified by:
getResponseTypein interfaceQueryRequestOrBuilder- Returns:
- The responseType.
-
getResponseTypeOrBuilder
@Deprecated public SerializedObjectOrBuilder getResponseTypeOrBuilder()
Deprecated.An object describing the expectations of the Response Type. Deprecated. no longer used in Axon Framework 5
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6 [deprecated = true];- Specified by:
getResponseTypeOrBuilderin interfaceQueryRequestOrBuilder
-
getProcessingInstructionsList
public List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;- Specified by:
getProcessingInstructionsListin interfaceQueryRequestOrBuilder
-
getProcessingInstructionsOrBuilderList
public List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;- Specified by:
getProcessingInstructionsOrBuilderListin interfaceQueryRequestOrBuilder
-
getProcessingInstructionsCount
public int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;- Specified by:
getProcessingInstructionsCountin interfaceQueryRequestOrBuilder
-
getProcessingInstructions
public ProcessingInstruction getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;- Specified by:
getProcessingInstructionsin interfaceQueryRequestOrBuilder
-
getProcessingInstructionsOrBuilder
public ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;- Specified by:
getProcessingInstructionsOrBuilderin interfaceQueryRequestOrBuilder
-
getClientId
public String getClientId()
The unique identifier of the client instance dispatching the query
string client_id = 8;- Specified by:
getClientIdin interfaceQueryRequestOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the client instance dispatching the query
string client_id = 8;- Specified by:
getClientIdBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for clientId.
-
getComponentName
public String getComponentName()
The Name of the Component dispatching the query
string component_name = 9;- Specified by:
getComponentNamein interfaceQueryRequestOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The Name of the Component dispatching the query
string component_name = 9;- Specified by:
getComponentNameBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for componentName.
-
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 QueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public QueryRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static QueryRequest.Builder newBuilder()
-
newBuilder
public static QueryRequest.Builder newBuilder(QueryRequest prototype)
-
toBuilder
public QueryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueryRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static QueryRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QueryRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<QueryRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public QueryRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-