Class QueryProviderInbound

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QueryProviderInboundOrBuilder, Serializable

    @Generated
    public final class QueryProviderInbound
    extends com.google.protobuf.GeneratedMessage
    implements QueryProviderInboundOrBuilder
     Queries or Query related instructions from AxonServer for the connected application 
     
    Protobuf type io.axoniq.axonserver.grpc.query.QueryProviderInbound
    See Also:
    Serialized Form
    • Field Detail

      • SUBSCRIPTION_QUERY_REQUEST_FIELD_NUMBER

        public static final int SUBSCRIPTION_QUERY_REQUEST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUERY_CANCEL_FIELD_NUMBER

        public static final int QUERY_CANCEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUERY_FLOW_CONTROL_FIELD_NUMBER

        public static final int QUERY_FLOW_CONTROL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INSTRUCTION_ID_FIELD_NUMBER

        public static final int INSTRUCTION_ID_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:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

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

        public boolean hasAck()
         Acknowledgement of previously sent instruction via outbound stream 
         
        .io.axoniq.axonserver.grpc.InstructionAck ack = 1;
        Specified by:
        hasAck in interface QueryProviderInboundOrBuilder
        Returns:
        Whether the ack field is set.
      • hasQuery

        public boolean hasQuery()
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
        Specified by:
        hasQuery in interface QueryProviderInboundOrBuilder
        Returns:
        Whether the query field is set.
      • getQuery

        public QueryRequest getQuery()
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
        Specified by:
        getQuery in interface QueryProviderInboundOrBuilder
        Returns:
        The query.
      • hasSubscriptionQueryRequest

        public boolean hasSubscriptionQueryRequest()
         Represents an incoming Subscription Query, for which this component is expected to provide a response and updates 
         
        .io.axoniq.axonserver.grpc.query.SubscriptionQueryRequest subscription_query_request = 3;
        Specified by:
        hasSubscriptionQueryRequest in interface QueryProviderInboundOrBuilder
        Returns:
        Whether the subscriptionQueryRequest field is set.
      • getSubscriptionQueryRequest

        public SubscriptionQueryRequest getSubscriptionQueryRequest()
         Represents an incoming Subscription Query, for which this component is expected to provide a response and updates 
         
        .io.axoniq.axonserver.grpc.query.SubscriptionQueryRequest subscription_query_request = 3;
        Specified by:
        getSubscriptionQueryRequest in interface QueryProviderInboundOrBuilder
        Returns:
        The subscriptionQueryRequest.
      • hasQueryCancel

        public boolean hasQueryCancel()
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
        Specified by:
        hasQueryCancel in interface QueryProviderInboundOrBuilder
        Returns:
        Whether the queryCancel field is set.
      • getQueryCancel

        public QueryReference getQueryCancel()
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
        Specified by:
        getQueryCancel in interface QueryProviderInboundOrBuilder
        Returns:
        The queryCancel.
      • hasQueryFlowControl

        public boolean hasQueryFlowControl()
         Indicator that receiver should send more updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryFlowControl query_flow_control = 6;
        Specified by:
        hasQueryFlowControl in interface QueryProviderInboundOrBuilder
        Returns:
        Whether the queryFlowControl field is set.
      • getInstructionId

        public String getInstructionId()
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via outbound stream 
         
        string instruction_id = 4;
        Specified by:
        getInstructionId in interface QueryProviderInboundOrBuilder
        Returns:
        The instructionId.
      • getInstructionIdBytes

        public com.google.protobuf.ByteString getInstructionIdBytes()
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via outbound stream 
         
        string instruction_id = 4;
        Specified by:
        getInstructionIdBytes in interface QueryProviderInboundOrBuilder
        Returns:
        The bytes for instructionId.
      • 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 QueryProviderInbound parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryProviderInbound parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryProviderInbound parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryProviderInbound parseFrom​(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryProviderInbound parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueryProviderInbound parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected QueryProviderInbound.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<QueryProviderInbound> 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 QueryProviderInbound getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder