Class CommandProviderOutbound.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<CommandProviderOutbound.Builder>
-
- io.axoniq.axonserver.grpc.command.CommandProviderOutbound.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommandProviderOutboundOrBuilder,Cloneable
- Enclosing class:
- CommandProviderOutbound
public static final class CommandProviderOutbound.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommandProviderOutbound.Builder> implements CommandProviderOutboundOrBuilder
An instruction from the components that provides the Command Handler towards AxonServer.
Protobuf typeio.axoniq.axonserver.grpc.command.CommandProviderOutbound
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandProviderOutboundbuild()CommandProviderOutboundbuildPartial()CommandProviderOutbound.Builderclear()CommandProviderOutbound.BuilderclearAck()Acknowledgement of previously sent instruction via inbound streamCommandProviderOutbound.BuilderclearCommandResponse()Sends a result of Command processingCommandProviderOutbound.BuilderclearFlowControl()Instruction to increase the number of instructions AxonServer may send to this componentCommandProviderOutbound.BuilderclearInstructionId()Instruction identifier.CommandProviderOutbound.BuilderclearRequest()CommandProviderOutbound.BuilderclearSubscribe()Instruction to subscribe this component as handler of a specific type of commandCommandProviderOutbound.BuilderclearUnsubscribe()Instruction to unsubscribe this component as handler of a specific type of commandInstructionAckgetAck()Acknowledgement of previously sent instruction via inbound streamInstructionAck.BuildergetAckBuilder()Acknowledgement of previously sent instruction via inbound streamInstructionAckOrBuildergetAckOrBuilder()Acknowledgement of previously sent instruction via inbound streamCommandResponsegetCommandResponse()Sends a result of Command processingCommandResponse.BuildergetCommandResponseBuilder()Sends a result of Command processingCommandResponseOrBuildergetCommandResponseOrBuilder()Sends a result of Command processingCommandProviderOutboundgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FlowControlgetFlowControl()Instruction to increase the number of instructions AxonServer may send to this componentFlowControl.BuildergetFlowControlBuilder()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.CommandProviderOutbound.RequestCasegetRequestCase()CommandSubscriptiongetSubscribe()Instruction to subscribe this component as handler of a specific type of commandCommandSubscription.BuildergetSubscribeBuilder()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 commandCommandSubscription.BuildergetUnsubscribeBuilder()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 componentbooleanhasSubscribe()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()CommandProviderOutbound.BuildermergeAck(InstructionAck value)Acknowledgement of previously sent instruction via inbound streamCommandProviderOutbound.BuildermergeCommandResponse(CommandResponse value)Sends a result of Command processingCommandProviderOutbound.BuildermergeFlowControl(FlowControl value)Instruction to increase the number of instructions AxonServer may send to this componentCommandProviderOutbound.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommandProviderOutbound.BuildermergeFrom(com.google.protobuf.Message other)CommandProviderOutbound.BuildermergeFrom(CommandProviderOutbound other)CommandProviderOutbound.BuildermergeSubscribe(CommandSubscription value)Instruction to subscribe this component as handler of a specific type of commandCommandProviderOutbound.BuildermergeUnsubscribe(CommandSubscription value)Instruction to unsubscribe this component as handler of a specific type of commandCommandProviderOutbound.BuildersetAck(InstructionAck value)Acknowledgement of previously sent instruction via inbound streamCommandProviderOutbound.BuildersetAck(InstructionAck.Builder builderForValue)Acknowledgement of previously sent instruction via inbound streamCommandProviderOutbound.BuildersetCommandResponse(CommandResponse value)Sends a result of Command processingCommandProviderOutbound.BuildersetCommandResponse(CommandResponse.Builder builderForValue)Sends a result of Command processingCommandProviderOutbound.BuildersetFlowControl(FlowControl value)Instruction to increase the number of instructions AxonServer may send to this componentCommandProviderOutbound.BuildersetFlowControl(FlowControl.Builder builderForValue)Instruction to increase the number of instructions AxonServer may send to this componentCommandProviderOutbound.BuildersetInstructionId(String value)Instruction identifier.CommandProviderOutbound.BuildersetInstructionIdBytes(com.google.protobuf.ByteString value)Instruction identifier.CommandProviderOutbound.BuildersetSubscribe(CommandSubscription value)Instruction to subscribe this component as handler of a specific type of commandCommandProviderOutbound.BuildersetSubscribe(CommandSubscription.Builder builderForValue)Instruction to subscribe this component as handler of a specific type of commandCommandProviderOutbound.BuildersetUnsubscribe(CommandSubscription value)Instruction to unsubscribe this component as handler of a specific type of commandCommandProviderOutbound.BuildersetUnsubscribe(CommandSubscription.Builder builderForValue)Instruction to unsubscribe this component as handler of a specific type of command-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CommandProviderOutbound.Builder>
-
clear
public CommandProviderOutbound.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CommandProviderOutbound.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CommandProviderOutbound.Builder>
-
getDefaultInstanceForType
public CommandProviderOutbound getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandProviderOutbound build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandProviderOutbound buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CommandProviderOutbound.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandProviderOutbound.Builder>
-
mergeFrom
public CommandProviderOutbound.Builder mergeFrom(CommandProviderOutbound other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CommandProviderOutbound.Builder>
-
mergeFrom
public CommandProviderOutbound.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandProviderOutbound.Builder>- Throws:
IOException
-
getRequestCase
public CommandProviderOutbound.RequestCase getRequestCase()
- Specified by:
getRequestCasein interfaceCommandProviderOutboundOrBuilder
-
clearRequest
public CommandProviderOutbound.Builder clearRequest()
-
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.
-
setSubscribe
public CommandProviderOutbound.Builder setSubscribe(CommandSubscription value)
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;
-
setSubscribe
public CommandProviderOutbound.Builder setSubscribe(CommandSubscription.Builder builderForValue)
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;
-
mergeSubscribe
public CommandProviderOutbound.Builder mergeSubscribe(CommandSubscription value)
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;
-
clearSubscribe
public CommandProviderOutbound.Builder clearSubscribe()
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;
-
getSubscribeBuilder
public CommandSubscription.Builder getSubscribeBuilder()
Instruction to subscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription subscribe = 1;
-
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.
-
setUnsubscribe
public CommandProviderOutbound.Builder setUnsubscribe(CommandSubscription value)
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;
-
setUnsubscribe
public CommandProviderOutbound.Builder setUnsubscribe(CommandSubscription.Builder builderForValue)
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;
-
mergeUnsubscribe
public CommandProviderOutbound.Builder mergeUnsubscribe(CommandSubscription value)
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;
-
clearUnsubscribe
public CommandProviderOutbound.Builder clearUnsubscribe()
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;
-
getUnsubscribeBuilder
public CommandSubscription.Builder getUnsubscribeBuilder()
Instruction to unsubscribe this component as handler of a specific type of command
.io.axoniq.axonserver.grpc.command.CommandSubscription unsubscribe = 2;
-
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.
-
setFlowControl
public CommandProviderOutbound.Builder setFlowControl(FlowControl value)
Instruction to increase the number of instructions AxonServer may send to this component
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
-
setFlowControl
public CommandProviderOutbound.Builder setFlowControl(FlowControl.Builder builderForValue)
Instruction to increase the number of instructions AxonServer may send to this component
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
-
mergeFlowControl
public CommandProviderOutbound.Builder mergeFlowControl(FlowControl value)
Instruction to increase the number of instructions AxonServer may send to this component
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
-
clearFlowControl
public CommandProviderOutbound.Builder clearFlowControl()
Instruction to increase the number of instructions AxonServer may send to this component
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
-
getFlowControlBuilder
public FlowControl.Builder getFlowControlBuilder()
Instruction to increase the number of instructions AxonServer may send to this component
.io.axoniq.axonserver.grpc.FlowControl flow_control = 3;
-
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.
-
setCommandResponse
public CommandProviderOutbound.Builder setCommandResponse(CommandResponse value)
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;
-
setCommandResponse
public CommandProviderOutbound.Builder setCommandResponse(CommandResponse.Builder builderForValue)
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;
-
mergeCommandResponse
public CommandProviderOutbound.Builder mergeCommandResponse(CommandResponse value)
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;
-
clearCommandResponse
public CommandProviderOutbound.Builder clearCommandResponse()
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;
-
getCommandResponseBuilder
public CommandResponse.Builder getCommandResponseBuilder()
Sends a result of Command processing
.io.axoniq.axonserver.grpc.command.CommandResponse command_response = 4;
-
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.
-
setAck
public CommandProviderOutbound.Builder setAck(InstructionAck value)
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;
-
setAck
public CommandProviderOutbound.Builder setAck(InstructionAck.Builder builderForValue)
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;
-
mergeAck
public CommandProviderOutbound.Builder mergeAck(InstructionAck value)
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;
-
clearAck
public CommandProviderOutbound.Builder clearAck()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;
-
getAckBuilder
public InstructionAck.Builder getAckBuilder()
Acknowledgement of previously sent instruction via inbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 5;
-
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.
-
setInstructionId
public CommandProviderOutbound.Builder setInstructionId(String value)
Instruction identifier. If this identifier is set, this instruction will be acknowledged via inbound stream
string instruction_id = 6;- Parameters:
value- The instructionId to set.- Returns:
- This builder for chaining.
-
clearInstructionId
public CommandProviderOutbound.Builder clearInstructionId()
Instruction identifier. If this identifier is set, this instruction will be acknowledged via inbound stream
string instruction_id = 6;- Returns:
- This builder for chaining.
-
setInstructionIdBytes
public CommandProviderOutbound.Builder setInstructionIdBytes(com.google.protobuf.ByteString value)
Instruction identifier. If this identifier is set, this instruction will be acknowledged via inbound stream
string instruction_id = 6;- Parameters:
value- The bytes for instructionId to set.- Returns:
- This builder for chaining.
-
-