Class CommandProviderOutbound

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

    @Generated
    public final class CommandProviderOutbound
    extends com.google.protobuf.GeneratedMessage
    implements CommandProviderOutboundOrBuilder
     An instruction from the components that provides the Command Handler towards AxonServer. 
     
    Protobuf type io.axoniq.axonserver.grpc.command.CommandProviderOutbound
    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
      • internalGetFieldAccessorTable

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

        public boolean hasSubscribe()
         Instruction to subscribe this component as handler of a specific type of command 
         
        .io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;
        Specified by:
        hasSubscribe in interface CommandProviderOutboundOrBuilder
        Returns:
        Whether the subscribe field is set.
      • hasUnsubscribe

        public boolean hasUnsubscribe()
         Instruction to unsubscribe this component as handler of a specific type of command 
         
        .io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;
        Specified by:
        hasUnsubscribe in interface CommandProviderOutboundOrBuilder
        Returns:
        Whether the unsubscribe field is set.
      • hasFlowControl

        public boolean hasFlowControl()
         Instruction to increase the number of instructions AxonServer may send to this component 
         
        .io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
        Specified by:
        hasFlowControl in interface CommandProviderOutboundOrBuilder
        Returns:
        Whether the flowControl field is set.
      • getFlowControl

        public FlowControl getFlowControl()
         Instruction to increase the number of instructions AxonServer may send to this component 
         
        .io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
        Specified by:
        getFlowControl in interface CommandProviderOutboundOrBuilder
        Returns:
        The flowControl.
      • hasCommandResponse

        public boolean hasCommandResponse()
         Sends a result of Command processing 
         
        .io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;
        Specified by:
        hasCommandResponse in interface CommandProviderOutboundOrBuilder
        Returns:
        Whether the commandResponse field is set.
      • hasAck

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

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

        public com.google.protobuf.ByteString getInstructionIdBytes()
         Instruction identifier. If this identifier is set, this instruction will be acknowledged via inbound stream 
         
        string instruction_id = 6;
        Specified by:
        getInstructionIdBytes in interface CommandProviderOutboundOrBuilder
        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 CommandProviderOutbound parseFrom​(ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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