Class QueryProviderInbound.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QueryProviderInboundOrBuilder, Cloneable
    Enclosing class:
    QueryProviderInbound

    public static final class QueryProviderInbound.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<QueryProviderInbound.Builder>
    implements QueryProviderInboundOrBuilder
     Queries or Query related instructions from AxonServer for the connected application 
     
    Protobuf type io.axoniq.axonserver.grpc.query.QueryProviderInbound
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QueryProviderInbound.Builder>
      • clear

        public QueryProviderInbound.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<QueryProviderInbound.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QueryProviderInbound.Builder>
      • getDefaultInstanceForType

        public QueryProviderInbound getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QueryProviderInbound.Builder>
      • mergeFrom

        public QueryProviderInbound.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryProviderInbound.Builder>
        Throws:
        IOException
      • 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.
      • clearAck

        public QueryProviderInbound.Builder clearAck()
         Acknowledgement of previously sent instruction via outbound stream 
         
        .io.axoniq.axonserver.grpc.InstructionAck ack = 1;
      • getAckBuilder

        public InstructionAck.Builder getAckBuilder()
         Acknowledgement of previously sent instruction via outbound stream 
         
        .io.axoniq.axonserver.grpc.InstructionAck ack = 1;
      • 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.
      • setQuery

        public QueryProviderInbound.Builder setQuery​(QueryRequest value)
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
      • setQuery

        public QueryProviderInbound.Builder setQuery​(QueryRequest.Builder builderForValue)
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
      • mergeQuery

        public QueryProviderInbound.Builder mergeQuery​(QueryRequest value)
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
      • clearQuery

        public QueryProviderInbound.Builder clearQuery()
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
      • getQueryBuilder

        public QueryRequest.Builder getQueryBuilder()
         Represents an incoming Query, for which this component is expected to provide a response 
         
        .io.axoniq.axonserver.grpc.query.QueryRequest query = 2;
      • 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.
      • setSubscriptionQueryRequest

        public QueryProviderInbound.Builder setSubscriptionQueryRequest​(SubscriptionQueryRequest value)
         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;
      • setSubscriptionQueryRequest

        public QueryProviderInbound.Builder setSubscriptionQueryRequest​(SubscriptionQueryRequest.Builder builderForValue)
         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;
      • mergeSubscriptionQueryRequest

        public QueryProviderInbound.Builder mergeSubscriptionQueryRequest​(SubscriptionQueryRequest value)
         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;
      • clearSubscriptionQueryRequest

        public QueryProviderInbound.Builder clearSubscriptionQueryRequest()
         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;
      • getSubscriptionQueryRequestBuilder

        public SubscriptionQueryRequest.Builder getSubscriptionQueryRequestBuilder()
         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;
      • 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.
      • setQueryCancel

        public QueryProviderInbound.Builder setQueryCancel​(QueryReference value)
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
      • setQueryCancel

        public QueryProviderInbound.Builder setQueryCancel​(QueryReference.Builder builderForValue)
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
      • mergeQueryCancel

        public QueryProviderInbound.Builder mergeQueryCancel​(QueryReference value)
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
      • clearQueryCancel

        public QueryProviderInbound.Builder clearQueryCancel()
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
      • getQueryCancelBuilder

        public QueryReference.Builder getQueryCancelBuilder()
         Indicator that receiver is no more interested in updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryReference query_cancel = 5;
      • 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.
      • setQueryFlowControl

        public QueryProviderInbound.Builder setQueryFlowControl​(QueryFlowControl value)
         Indicator that receiver should send more updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryFlowControl query_flow_control = 6;
      • setQueryFlowControl

        public QueryProviderInbound.Builder setQueryFlowControl​(QueryFlowControl.Builder builderForValue)
         Indicator that receiver should send more updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryFlowControl query_flow_control = 6;
      • mergeQueryFlowControl

        public QueryProviderInbound.Builder mergeQueryFlowControl​(QueryFlowControl value)
         Indicator that receiver should send more updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryFlowControl query_flow_control = 6;
      • clearQueryFlowControl

        public QueryProviderInbound.Builder clearQueryFlowControl()
         Indicator that receiver should send more updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryFlowControl query_flow_control = 6;
      • getQueryFlowControlBuilder

        public QueryFlowControl.Builder getQueryFlowControlBuilder()
         Indicator that receiver should send more updates of this query 
         
        .io.axoniq.axonserver.grpc.query.QueryFlowControl query_flow_control = 6;
      • 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.
      • setInstructionId

        public QueryProviderInbound.Builder setInstructionId​(String value)
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via outbound stream 
         
        string instruction_id = 4;
        Parameters:
        value - The instructionId to set.
        Returns:
        This builder for chaining.
      • clearInstructionId

        public QueryProviderInbound.Builder clearInstructionId()
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via outbound stream 
         
        string instruction_id = 4;
        Returns:
        This builder for chaining.
      • setInstructionIdBytes

        public QueryProviderInbound.Builder setInstructionIdBytes​(com.google.protobuf.ByteString value)
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via outbound stream 
         
        string instruction_id = 4;
        Parameters:
        value - The bytes for instructionId to set.
        Returns:
        This builder for chaining.