Package io.axoniq.axonserver.grpc
Class InstructionResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<InstructionResult.Builder>
-
- io.axoniq.axonserver.grpc.InstructionResult.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InstructionResultOrBuilder,Cloneable
- Enclosing class:
- InstructionResult
public static final class InstructionResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstructionResult.Builder> implements InstructionResultOrBuilder
Message describing the result of the execution of an instruction
Protobuf typeio.axoniq.axonserver.grpc.InstructionResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstructionResultbuild()InstructionResultbuildPartial()InstructionResult.Builderclear()InstructionResult.BuilderclearError()Cause of instruction handling failure.InstructionResult.BuilderclearInstructionId()The identifier of the instructionInstructionResult.BuilderclearSuccess()Indicator whether the instruction was processed successfullyInstructionResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ErrorMessagegetError()Cause of instruction handling failure.ErrorMessage.BuildergetErrorBuilder()Cause of instruction handling failure.ErrorMessageOrBuildergetErrorOrBuilder()Cause of instruction handling failure.StringgetInstructionId()The identifier of the instructioncom.google.protobuf.ByteStringgetInstructionIdBytes()The identifier of the instructionbooleangetSuccess()Indicator whether the instruction was processed successfullybooleanhasError()Cause of instruction handling failure.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstructionResult.BuildermergeError(ErrorMessage value)Cause of instruction handling failure.InstructionResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstructionResult.BuildermergeFrom(com.google.protobuf.Message other)InstructionResult.BuildermergeFrom(InstructionResult other)InstructionResult.BuildersetError(ErrorMessage value)Cause of instruction handling failure.InstructionResult.BuildersetError(ErrorMessage.Builder builderForValue)Cause of instruction handling failure.InstructionResult.BuildersetInstructionId(String value)The identifier of the instructionInstructionResult.BuildersetInstructionIdBytes(com.google.protobuf.ByteString value)The identifier of the instructionInstructionResult.BuildersetSuccess(boolean value)Indicator whether the instruction was processed successfully-
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<InstructionResult.Builder>
-
clear
public InstructionResult.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<InstructionResult.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<InstructionResult.Builder>
-
getDefaultInstanceForType
public InstructionResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstructionResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstructionResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public InstructionResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstructionResult.Builder>
-
mergeFrom
public InstructionResult.Builder mergeFrom(InstructionResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstructionResult.Builder>
-
mergeFrom
public InstructionResult.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<InstructionResult.Builder>- Throws:
IOException
-
getInstructionId
public String getInstructionId()
The identifier of the instruction
string instruction_id = 1;- Specified by:
getInstructionIdin interfaceInstructionResultOrBuilder- Returns:
- The instructionId.
-
getInstructionIdBytes
public com.google.protobuf.ByteString getInstructionIdBytes()
The identifier of the instruction
string instruction_id = 1;- Specified by:
getInstructionIdBytesin interfaceInstructionResultOrBuilder- Returns:
- The bytes for instructionId.
-
setInstructionId
public InstructionResult.Builder setInstructionId(String value)
The identifier of the instruction
string instruction_id = 1;- Parameters:
value- The instructionId to set.- Returns:
- This builder for chaining.
-
clearInstructionId
public InstructionResult.Builder clearInstructionId()
The identifier of the instruction
string instruction_id = 1;- Returns:
- This builder for chaining.
-
setInstructionIdBytes
public InstructionResult.Builder setInstructionIdBytes(com.google.protobuf.ByteString value)
The identifier of the instruction
string instruction_id = 1;- Parameters:
value- The bytes for instructionId to set.- Returns:
- This builder for chaining.
-
getSuccess
public boolean getSuccess()
Indicator whether the instruction was processed successfully
bool success = 2;- Specified by:
getSuccessin interfaceInstructionResultOrBuilder- Returns:
- The success.
-
setSuccess
public InstructionResult.Builder setSuccess(boolean value)
Indicator whether the instruction was processed successfully
bool success = 2;- Parameters:
value- The success to set.- Returns:
- This builder for chaining.
-
clearSuccess
public InstructionResult.Builder clearSuccess()
Indicator whether the instruction was processed successfully
bool success = 2;- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;- Specified by:
hasErrorin interfaceInstructionResultOrBuilder- Returns:
- Whether the error field is set.
-
getError
public ErrorMessage getError()
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;- Specified by:
getErrorin interfaceInstructionResultOrBuilder- Returns:
- The error.
-
setError
public InstructionResult.Builder setError(ErrorMessage value)
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;
-
setError
public InstructionResult.Builder setError(ErrorMessage.Builder builderForValue)
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;
-
mergeError
public InstructionResult.Builder mergeError(ErrorMessage value)
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;
-
clearError
public InstructionResult.Builder clearError()
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;
-
getErrorBuilder
public ErrorMessage.Builder getErrorBuilder()
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;
-
getErrorOrBuilder
public ErrorMessageOrBuilder getErrorOrBuilder()
Cause of instruction handling failure.
.io.axoniq.axonserver.grpc.ErrorMessage error = 3;- Specified by:
getErrorOrBuilderin interfaceInstructionResultOrBuilder
-
-