Class CommandProviderInbound.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<CommandProviderInbound.Builder>
-
- io.axoniq.axonserver.grpc.command.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 typeio.axoniq.axonserver.grpc.command.CommandProviderInbound
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandProviderInboundbuild()CommandProviderInboundbuildPartial()CommandProviderInbound.Builderclear()CommandProviderInbound.BuilderclearAck()Acknowledgement of previously sent instruction via outbound streamCommandProviderInbound.BuilderclearCommand()A command for this component to processCommandProviderInbound.BuilderclearInstructionId()Instruction identifier.CommandProviderInbound.BuilderclearRequest()InstructionAckgetAck()Acknowledgement of previously sent instruction via outbound streamInstructionAck.BuildergetAckBuilder()Acknowledgement of previously sent instruction via outbound streamInstructionAckOrBuildergetAckOrBuilder()Acknowledgement of previously sent instruction via outbound streamCommandgetCommand()A command for this component to processCommand.BuildergetCommandBuilder()A command for this component to processCommandOrBuildergetCommandOrBuilder()A command for this component to processCommandProviderInboundgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstructionId()Instruction identifier.com.google.protobuf.ByteStringgetInstructionIdBytes()Instruction identifier.CommandProviderInbound.RequestCasegetRequestCase()booleanhasAck()Acknowledgement of previously sent instruction via outbound streambooleanhasCommand()A command for this component to processprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommandProviderInbound.BuildermergeAck(InstructionAck value)Acknowledgement of previously sent instruction via outbound streamCommandProviderInbound.BuildermergeCommand(Command value)A command for this component to processCommandProviderInbound.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommandProviderInbound.BuildermergeFrom(com.google.protobuf.Message other)CommandProviderInbound.BuildermergeFrom(CommandProviderInbound other)CommandProviderInbound.BuildersetAck(InstructionAck value)Acknowledgement of previously sent instruction via outbound streamCommandProviderInbound.BuildersetAck(InstructionAck.Builder builderForValue)Acknowledgement of previously sent instruction via outbound streamCommandProviderInbound.BuildersetCommand(Command value)A command for this component to processCommandProviderInbound.BuildersetCommand(Command.Builder builderForValue)A command for this component to processCommandProviderInbound.BuildersetInstructionId(String value)Instruction identifier.CommandProviderInbound.BuildersetInstructionIdBytes(com.google.protobuf.ByteString value)Instruction identifier.-
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<CommandProviderInbound.Builder>
-
clear
public CommandProviderInbound.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<CommandProviderInbound.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<CommandProviderInbound.Builder>
-
getDefaultInstanceForType
public CommandProviderInbound getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandProviderInbound build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandProviderInbound buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CommandProviderInbound.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandProviderInbound.Builder>
-
mergeFrom
public CommandProviderInbound.Builder mergeFrom(CommandProviderInbound other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandProviderInbound.Builder>- Throws:
IOException
-
getRequestCase
public CommandProviderInbound.RequestCase getRequestCase()
- Specified by:
getRequestCasein interfaceCommandProviderInboundOrBuilder
-
clearRequest
public CommandProviderInbound.Builder clearRequest()
-
hasAck
public boolean hasAck()
Acknowledgement of previously sent instruction via outbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 1;- Specified by:
hasAckin interfaceCommandProviderInboundOrBuilder- Returns:
- Whether the ack field is set.
-
getAck
public InstructionAck getAck()
Acknowledgement of previously sent instruction via outbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 1;- Specified by:
getAckin interfaceCommandProviderInboundOrBuilder- Returns:
- The ack.
-
setAck
public CommandProviderInbound.Builder setAck(InstructionAck value)
Acknowledgement of previously sent instruction via outbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 1;
-
setAck
public CommandProviderInbound.Builder setAck(InstructionAck.Builder builderForValue)
Acknowledgement of previously sent instruction via outbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 1;
-
mergeAck
public CommandProviderInbound.Builder mergeAck(InstructionAck value)
Acknowledgement of previously sent instruction via outbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 1;
-
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;
-
getAckOrBuilder
public InstructionAckOrBuilder getAckOrBuilder()
Acknowledgement of previously sent instruction via outbound stream
.io.axoniq.axonserver.grpc.InstructionAck ack = 1;- Specified by:
getAckOrBuilderin interfaceCommandProviderInboundOrBuilder
-
hasCommand
public boolean hasCommand()
A command for this component to process
.io.axoniq.axonserver.grpc.command.Command command = 2;- Specified by:
hasCommandin interfaceCommandProviderInboundOrBuilder- Returns:
- Whether the command field is set.
-
getCommand
public Command getCommand()
A command for this component to process
.io.axoniq.axonserver.grpc.command.Command command = 2;- Specified by:
getCommandin interfaceCommandProviderInboundOrBuilder- Returns:
- The command.
-
setCommand
public CommandProviderInbound.Builder setCommand(Command value)
A command for this component to process
.io.axoniq.axonserver.grpc.command.Command command = 2;
-
setCommand
public CommandProviderInbound.Builder setCommand(Command.Builder builderForValue)
A command for this component to process
.io.axoniq.axonserver.grpc.command.Command command = 2;
-
mergeCommand
public CommandProviderInbound.Builder mergeCommand(Command value)
A command for this component to process
.io.axoniq.axonserver.grpc.command.Command command = 2;
-
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;
-
getCommandOrBuilder
public CommandOrBuilder getCommandOrBuilder()
A command for this component to process
.io.axoniq.axonserver.grpc.command.Command command = 2;- Specified by:
getCommandOrBuilderin interfaceCommandProviderInboundOrBuilder
-
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:
getInstructionIdin interfaceCommandProviderInboundOrBuilder- 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:
getInstructionIdBytesin interfaceCommandProviderInboundOrBuilder- 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.
-
-