Package io.axoniq.axonserver.grpc.query
Interface QueryRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryRequest,QueryRequest.Builder
@Generated public interface QueryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetaData(String key)Meta Data providing contextual information of the QueryStringgetClientId()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 queryStringgetMessageIdentifier()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 QuerySerializedObjectgetPayload()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.longgetTimestamp()The timestamp of the Query creationbooleanhasPayload()A payload accompanying the QuerybooleanhasResponseType()Deprecated.io.axoniq.axonserver.grpc.query.QueryRequest.response_type is deprecated.-
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 message ID of the incoming Query
string message_identifier = 1;- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
com.google.protobuf.ByteString getMessageIdentifierBytes()
The message ID of the incoming Query
string message_identifier = 1;- Returns:
- The bytes for messageIdentifier.
-
getQuery
String getQuery()
The name of the Query to execute
string query = 2;- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()
The name of the Query to execute
string query = 2;- Returns:
- The bytes for query.
-
getTimestamp
long getTimestamp()
The timestamp of the Query creation
int64 timestamp = 3;- Returns:
- The timestamp.
-
hasPayload
boolean hasPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- Whether the payload field is set.
-
getPayload
SerializedObject getPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;- Returns:
- The payload.
-
getPayloadOrBuilder
SerializedObjectOrBuilder getPayloadOrBuilder()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
-
getMetaDataCount
int getMetaDataCount()
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
containsMetaData
boolean containsMetaData(String key)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
getMetaData
@Deprecated Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.
-
getMetaDataMap
Map<String,MetaDataValue> getMetaDataMap()
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
getMetaDataOrDefault
MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
getMetaDataOrThrow
MetaDataValue getMetaDataOrThrow(String key)
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
-
hasResponseType
@Deprecated 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];- Returns:
- Whether the responseType field is set.
-
getResponseType
@Deprecated 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];- Returns:
- The responseType.
-
getResponseTypeOrBuilder
@Deprecated 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];
-
getProcessingInstructionsList
List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
-
getProcessingInstructions
ProcessingInstruction getProcessingInstructions(int index)
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
-
getProcessingInstructionsCount
int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
-
getProcessingInstructionsOrBuilderList
List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
-
getProcessingInstructionsOrBuilder
ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
-
getClientId
String getClientId()
The unique identifier of the client instance dispatching the query
string client_id = 8;- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the client instance dispatching the query
string client_id = 8;- Returns:
- The bytes for clientId.
-
getComponentName
String getComponentName()
The Name of the Component dispatching the query
string component_name = 9;- Returns:
- The componentName.
-
getComponentNameBytes
com.google.protobuf.ByteString getComponentNameBytes()
The Name of the Component dispatching the query
string component_name = 9;- Returns:
- The bytes for componentName.
-
-