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, 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 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.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 message ID of the incoming Query
string message_identifier = 1;
getMessageIdentifier
in interface QueryRequestOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The message ID of the incoming Query
string message_identifier = 1;
getMessageIdentifierBytes
in interface QueryRequestOrBuilder
public String getQuery()
The name of the Query to execute
string query = 2;
getQuery
in interface QueryRequestOrBuilder
public com.google.protobuf.ByteString getQueryBytes()
The name of the Query to execute
string query = 2;
getQueryBytes
in interface QueryRequestOrBuilder
public long getTimestamp()
The timestamp of the Query creation
int64 timestamp = 3;
getTimestamp
in interface QueryRequestOrBuilder
public boolean hasPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
hasPayload
in interface QueryRequestOrBuilder
public SerializedObject getPayload()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayload
in interface QueryRequestOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
A payload accompanying the Query
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayloadOrBuilder
in interface QueryRequestOrBuilder
public int getMetaDataCount()
QueryRequestOrBuilder
Meta Data providing contextual information of the Query
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataCount
in interface QueryRequestOrBuilder
public 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 QueryRequestOrBuilder
public 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 QueryRequestOrBuilder
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;
getMetaDataOrDefault
in interface QueryRequestOrBuilder
public 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 QueryRequestOrBuilder
public boolean hasResponseType()
An object describing the expectations of the Response Type
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6;
hasResponseType
in interface QueryRequestOrBuilder
public SerializedObject getResponseType()
An object describing the expectations of the Response Type
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6;
getResponseType
in interface QueryRequestOrBuilder
public SerializedObjectOrBuilder getResponseTypeOrBuilder()
An object describing the expectations of the Response Type
.io.axoniq.axonserver.grpc.SerializedObject response_type = 6;
getResponseTypeOrBuilder
in interface QueryRequestOrBuilder
public List<ProcessingInstruction> getProcessingInstructionsList()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
getProcessingInstructionsList
in interface QueryRequestOrBuilder
public 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 QueryRequestOrBuilder
public int getProcessingInstructionsCount()
Any instructions for components Routing or Handling the Query
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
getProcessingInstructionsCount
in interface QueryRequestOrBuilder
public 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 QueryRequestOrBuilder
public 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 QueryRequestOrBuilder
public String getClientId()
The unique identifier of the client instance dispatching the query
string client_id = 8;
getClientId
in interface QueryRequestOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the client instance dispatching the query
string client_id = 8;
getClientIdBytes
in interface QueryRequestOrBuilder
public String getComponentName()
The Name of the Component dispatching the query
string component_name = 9;
getComponentName
in interface QueryRequestOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
The Name of the Component dispatching the query
string component_name = 9;
getComponentNameBytes
in interface QueryRequestOrBuilder
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 QueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryRequest parseFrom(InputStream input) throws IOException
IOException
public static QueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static QueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QueryRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static QueryRequest.Builder newBuilder()
public static QueryRequest.Builder newBuilder(QueryRequest prototype)
public QueryRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected QueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static QueryRequest getDefaultInstance()
public static com.google.protobuf.Parser<QueryRequest> parser()
public com.google.protobuf.Parser<QueryRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public QueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2020. All rights reserved.