Class CommandProviderInbound.Builder

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

    public static final class CommandProviderInbound.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<CommandProviderInbound.Builder>
    implements CommandProviderInboundOrBuilder
     An instruction or confirmation from AxonServer towards the component that provides the Command Handler 
     
    Protobuf type io.axoniq.axonserver.grpc.command.CommandProviderInbound
    • 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<CommandProviderInbound.Builder>
      • clear

        public CommandProviderInbound.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<CommandProviderInbound.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<CommandProviderInbound.Builder>
      • getDefaultInstanceForType

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

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

        public CommandProviderInbound 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<CommandProviderInbound.Builder>
      • mergeFrom

        public CommandProviderInbound.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<CommandProviderInbound.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 CommandProviderInboundOrBuilder
        Returns:
        Whether the ack field is set.
      • clearAck

        public CommandProviderInbound.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;
      • hasCommand

        public boolean hasCommand()
         A command for this component to process 
         
        .io.axoniq.axonserver.grpc.command.Command command = 2;
        Specified by:
        hasCommand in interface CommandProviderInboundOrBuilder
        Returns:
        Whether the command field is set.
      • clearCommand

        public CommandProviderInbound.Builder clearCommand()
         A command for this component to process 
         
        .io.axoniq.axonserver.grpc.command.Command command = 2;
      • getCommandBuilder

        public Command.Builder getCommandBuilder()
         A command for this component to process 
         
        .io.axoniq.axonserver.grpc.command.Command command = 2;
      • getInstructionId

        public String getInstructionId()
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via outbound stream 
         
        string instruction_id = 3;
        Specified by:
        getInstructionId in interface CommandProviderInboundOrBuilder
        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 = 3;
        Specified by:
        getInstructionIdBytes in interface CommandProviderInboundOrBuilder
        Returns:
        The bytes for instructionId.
      • setInstructionId

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

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

        public CommandProviderInbound.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 = 3;
        Parameters:
        value - The bytes for instructionId to set.
        Returns:
        This builder for chaining.