Class 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 type io.axoniq.axonserver.grpc.query.QueryRequest
    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getMessageIdentifierBytes

        public com.google.protobuf.ByteString getMessageIdentifierBytes()
         The message ID of the incoming Query 
         
        string message_identifier = 1;
        Specified by:
        getMessageIdentifierBytes in interface QueryRequestOrBuilder
        Returns:
        The bytes for messageIdentifier.
      • getQueryBytes

        public com.google.protobuf.ByteString getQueryBytes()
         The name of the Query to execute 
         
        string query = 2;
        Specified by:
        getQueryBytes in interface QueryRequestOrBuilder
        Returns:
        The bytes for query.
      • getTimestamp

        public long getTimestamp()
         The timestamp of the Query creation 
         
        int64 timestamp = 3;
        Specified by:
        getTimestamp in interface QueryRequestOrBuilder
        Returns:
        The timestamp.
      • hasPayload

        public boolean hasPayload()
         A payload accompanying the Query 
         
        .io.axoniq.axonserver.grpc.SerializedObject payload = 4;
        Specified by:
        hasPayload in interface QueryRequestOrBuilder
        Returns:
        Whether the payload field is set.
      • getMetaDataCount

        public int getMetaDataCount()
        Description copied from interface: QueryRequestOrBuilder
         Meta Data providing contextual information of the Query 
         
        map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
        Specified by:
        getMetaDataCount in interface QueryRequestOrBuilder
      • 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:
        containsMetaData in interface QueryRequestOrBuilder
      • hasResponseType

        @Deprecated
        public boolean hasResponseType()
        Deprecated.
        io.axoniq.axonserver.grpc.query.QueryRequest.response_type is deprecated. See query.proto;l=124
         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:
        hasResponseType in interface QueryRequestOrBuilder
        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=124
         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:
        getResponseType in interface QueryRequestOrBuilder
        Returns:
        The responseType.
      • getProcessingInstructionsCount

        public int getProcessingInstructionsCount()
         Any instructions for components Routing or Handling the Query 
         
        repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 7;
        Specified by:
        getProcessingInstructionsCount in interface QueryRequestOrBuilder
      • getClientId

        public String getClientId()
         The unique identifier of the client instance dispatching the query 
         
        string client_id = 8;
        Specified by:
        getClientId in interface QueryRequestOrBuilder
        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:
        getClientIdBytes in interface QueryRequestOrBuilder
        Returns:
        The bytes for clientId.
      • getComponentName

        public String getComponentName()
         The Name of the Component dispatching the query 
         
        string component_name = 9;
        Specified by:
        getComponentName in interface QueryRequestOrBuilder
        Returns:
        The componentName.
      • getComponentNameBytes

        public com.google.protobuf.ByteString getComponentNameBytes()
         The Name of the Component dispatching the query 
         
        string component_name = 9;
        Specified by:
        getComponentNameBytes in interface QueryRequestOrBuilder
        Returns:
        The bytes for componentName.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

        public QueryRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public QueryRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected QueryRequest.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public QueryRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder