Class CommandProviderOutbound
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.command.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 typeio.axoniq.axonserver.grpc.command.CommandProviderOutbound- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandProviderOutbound.BuilderAn instruction from the components that provides the Command Handler towards AxonServer.static classCommandProviderOutbound.RequestCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACK_FIELD_NUMBERstatic intCOMMAND_RESPONSE_FIELD_NUMBERstatic intFLOW_CONTROL_FIELD_NUMBERstatic intINSTRUCTION_ID_FIELD_NUMBERstatic intSUBSCRIBE_FIELD_NUMBERstatic intUNSUBSCRIBE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InstructionAckgetAck()Acknowledgement of previously sent instruction via inbound streamInstructionAckOrBuildergetAckOrBuilder()Acknowledgement of previously sent instruction via inbound streamCommandResponsegetCommandResponse()Sends a result of Command processingCommandResponseOrBuildergetCommandResponseOrBuilder()Sends a result of Command processingstatic CommandProviderOutboundgetDefaultInstance()CommandProviderOutboundgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FlowControlgetFlowControl()Instruction to increase the number of instructions AxonServer may send to this componentFlowControlOrBuildergetFlowControlOrBuilder()Instruction to increase the number of instructions AxonServer may send to this componentStringgetInstructionId()Instruction identifier.com.google.protobuf.ByteStringgetInstructionIdBytes()Instruction identifier.com.google.protobuf.Parser<CommandProviderOutbound>getParserForType()CommandProviderOutbound.RequestCasegetRequestCase()intgetSerializedSize()CommandSubscriptiongetSubscribe()Instruction to subscribe this component as handler of a specific type of commandCommandSubscriptionOrBuildergetSubscribeOrBuilder()Instruction to subscribe this component as handler of a specific type of commandCommandSubscriptiongetUnsubscribe()Instruction to unsubscribe this component as handler of a specific type of commandCommandSubscriptionOrBuildergetUnsubscribeOrBuilder()Instruction to unsubscribe this component as handler of a specific type of commandbooleanhasAck()Acknowledgement of previously sent instruction via inbound streambooleanhasCommandResponse()Sends a result of Command processingbooleanhasFlowControl()Instruction to increase the number of instructions AxonServer may send to this componentinthashCode()booleanhasSubscribe()Instruction to subscribe this component as handler of a specific type of commandbooleanhasUnsubscribe()Instruction to unsubscribe this component as handler of a specific type of commandprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CommandProviderOutbound.BuildernewBuilder()static CommandProviderOutbound.BuildernewBuilder(CommandProviderOutbound prototype)CommandProviderOutbound.BuildernewBuilderForType()protected CommandProviderOutbound.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static CommandProviderOutboundparseDelimitedFrom(InputStream input)static CommandProviderOutboundparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandProviderOutboundparseFrom(byte[] data)static CommandProviderOutboundparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandProviderOutboundparseFrom(com.google.protobuf.ByteString data)static CommandProviderOutboundparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandProviderOutboundparseFrom(com.google.protobuf.CodedInputStream input)static CommandProviderOutboundparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandProviderOutboundparseFrom(InputStream input)static CommandProviderOutboundparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CommandProviderOutboundparseFrom(ByteBuffer data)static CommandProviderOutboundparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CommandProviderOutbound>parser()CommandProviderOutbound.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SUBSCRIBE_FIELD_NUMBER
public static final int SUBSCRIBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNSUBSCRIBE_FIELD_NUMBER
public static final int UNSUBSCRIBE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOW_CONTROL_FIELD_NUMBER
public static final int FLOW_CONTROL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMAND_RESPONSE_FIELD_NUMBER
public static final int COMMAND_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACK_FIELD_NUMBER
public static final int ACK_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:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRequestCase
public CommandProviderOutbound.RequestCase getRequestCase()
- Specified by:
getRequestCasein interfaceCommandProviderOutboundOrBuilder
-
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:
hasSubscribein interfaceCommandProviderOutboundOrBuilder- Returns:
- Whether the subscribe field is set.
-
getSubscribe
public CommandSubscription getSubscribe()
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;- Specified by:
getSubscribein interfaceCommandProviderOutboundOrBuilder- Returns:
- The subscribe.
-
getSubscribeOrBuilder
public CommandSubscriptionOrBuilder getSubscribeOrBuilder()
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;- Specified by:
getSubscribeOrBuilderin interfaceCommandProviderOutboundOrBuilder
-
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:
hasUnsubscribein interfaceCommandProviderOutboundOrBuilder- Returns:
- Whether the unsubscribe field is set.
-
getUnsubscribe
public CommandSubscription getUnsubscribe()
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;- Specified by:
getUnsubscribein interfaceCommandProviderOutboundOrBuilder- Returns:
- The unsubscribe.
-
getUnsubscribeOrBuilder
public CommandSubscriptionOrBuilder getUnsubscribeOrBuilder()
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;- Specified by:
getUnsubscribeOrBuilderin interfaceCommandProviderOutboundOrBuilder
-
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:
hasFlowControlin interfaceCommandProviderOutboundOrBuilder- 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:
getFlowControlin interfaceCommandProviderOutboundOrBuilder- Returns:
- The flowControl.
-
getFlowControlOrBuilder
public FlowControlOrBuilder getFlowControlOrBuilder()
Instruction to increase the number of instructions AxonServer may send to this component
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;- Specified by:
getFlowControlOrBuilderin interfaceCommandProviderOutboundOrBuilder
-
hasCommandResponse
public boolean hasCommandResponse()
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;- Specified by:
hasCommandResponsein interfaceCommandProviderOutboundOrBuilder- Returns:
- Whether the commandResponse field is set.
-
getCommandResponse
public CommandResponse getCommandResponse()
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;- Specified by:
getCommandResponsein interfaceCommandProviderOutboundOrBuilder- Returns:
- The commandResponse.
-
getCommandResponseOrBuilder
public CommandResponseOrBuilder getCommandResponseOrBuilder()
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;- Specified by:
getCommandResponseOrBuilderin interfaceCommandProviderOutboundOrBuilder
-
hasAck
public boolean hasAck()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;- Specified by:
hasAckin interfaceCommandProviderOutboundOrBuilder- Returns:
- Whether the ack field is set.
-
getAck
public InstructionAck getAck()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;- Specified by:
getAckin interfaceCommandProviderOutboundOrBuilder- Returns:
- The ack.
-
getAckOrBuilder
public InstructionAckOrBuilder getAckOrBuilder()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;- Specified by:
getAckOrBuilderin interfaceCommandProviderOutboundOrBuilder
-
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:
getInstructionIdin interfaceCommandProviderOutboundOrBuilder- 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:
getInstructionIdBytesin interfaceCommandProviderOutboundOrBuilder- Returns:
- The bytes for instructionId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
-
parseFrom
public static CommandProviderOutbound parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CommandProviderOutbound parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CommandProviderOutbound parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CommandProviderOutbound parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CommandProviderOutbound parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CommandProviderOutbound parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CommandProviderOutbound.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CommandProviderOutbound.Builder newBuilder()
-
newBuilder
public static CommandProviderOutbound.Builder newBuilder(CommandProviderOutbound prototype)
-
toBuilder
public CommandProviderOutbound.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CommandProviderOutbound.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static CommandProviderOutbound getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CommandProviderOutbound> parser()
-
getParserForType
public com.google.protobuf.Parser<CommandProviderOutbound> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public CommandProviderOutbound getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-