Package com.exonum.messages.core.runtime
Class Errors.ExecutionStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
com.exonum.messages.core.runtime.Errors.ExecutionStatus.Builder
- All Implemented Interfaces:
Errors.ExecutionStatusOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Errors.ExecutionStatus
public static final class Errors.ExecutionStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder> implements Errors.ExecutionStatusOrBuilder
Result of runtime execution.Protobuf type
exonum.runtime.ExecutionStatus
-
Method Summary
Modifier and Type Method Description Errors.ExecutionStatus.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Errors.ExecutionStatus
build()
Errors.ExecutionStatus
buildPartial()
Errors.ExecutionStatus.Builder
clear()
Errors.ExecutionStatus.Builder
clearError()
Execution ended with an error.Errors.ExecutionStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Errors.ExecutionStatus.Builder
clearOk()
Successful execution.Errors.ExecutionStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Errors.ExecutionStatus.Builder
clearResult()
Errors.ExecutionStatus.Builder
clone()
Errors.ExecutionStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Errors.ExecutionError
getError()
Execution ended with an error.Errors.ExecutionError.Builder
getErrorBuilder()
Execution ended with an error.Errors.ExecutionErrorOrBuilder
getErrorOrBuilder()
Execution ended with an error.com.google.protobuf.Empty
getOk()
Successful execution.com.google.protobuf.Empty.Builder
getOkBuilder()
Successful execution.com.google.protobuf.EmptyOrBuilder
getOkOrBuilder()
Successful execution.Errors.ExecutionStatus.ResultCase
getResultCase()
boolean
hasError()
Execution ended with an error.boolean
hasOk()
Successful execution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Errors.ExecutionStatus.Builder
mergeError(Errors.ExecutionError value)
Execution ended with an error.Errors.ExecutionStatus.Builder
mergeFrom(Errors.ExecutionStatus other)
Errors.ExecutionStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Errors.ExecutionStatus.Builder
mergeFrom(com.google.protobuf.Message other)
Errors.ExecutionStatus.Builder
mergeOk(com.google.protobuf.Empty value)
Successful execution.Errors.ExecutionStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Errors.ExecutionStatus.Builder
setError(Errors.ExecutionError value)
Execution ended with an error.Errors.ExecutionStatus.Builder
setError(Errors.ExecutionError.Builder builderForValue)
Execution ended with an error.Errors.ExecutionStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Errors.ExecutionStatus.Builder
setOk(com.google.protobuf.Empty value)
Successful execution.Errors.ExecutionStatus.Builder
setOk(com.google.protobuf.Empty.Builder builderForValue)
Successful execution.Errors.ExecutionStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Errors.ExecutionStatus.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
setField
public Errors.ExecutionStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
clearField
public Errors.ExecutionStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
clearOneof
public Errors.ExecutionStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
setRepeatedField
public Errors.ExecutionStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
addRepeatedField
public Errors.ExecutionStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Errors.ExecutionStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
mergeFrom
public Errors.ExecutionStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Errors.ExecutionStatus.Builder>
- Throws:
java.io.IOException
-
getResultCase
- Specified by:
getResultCase
in interfaceErrors.ExecutionStatusOrBuilder
-
clearResult
-
hasOk
public boolean hasOk()Successful execution.
.google.protobuf.Empty ok = 1;
- Specified by:
hasOk
in interfaceErrors.ExecutionStatusOrBuilder
- Returns:
- Whether the ok field is set.
-
getOk
public com.google.protobuf.Empty getOk()Successful execution.
.google.protobuf.Empty ok = 1;
- Specified by:
getOk
in interfaceErrors.ExecutionStatusOrBuilder
- Returns:
- The ok.
-
setOk
Successful execution.
.google.protobuf.Empty ok = 1;
-
setOk
Successful execution.
.google.protobuf.Empty ok = 1;
-
mergeOk
Successful execution.
.google.protobuf.Empty ok = 1;
-
clearOk
Successful execution.
.google.protobuf.Empty ok = 1;
-
getOkBuilder
public com.google.protobuf.Empty.Builder getOkBuilder()Successful execution.
.google.protobuf.Empty ok = 1;
-
getOkOrBuilder
public com.google.protobuf.EmptyOrBuilder getOkOrBuilder()Successful execution.
.google.protobuf.Empty ok = 1;
- Specified by:
getOkOrBuilder
in interfaceErrors.ExecutionStatusOrBuilder
-
hasError
public boolean hasError()Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
- Specified by:
hasError
in interfaceErrors.ExecutionStatusOrBuilder
- Returns:
- Whether the error field is set.
-
getError
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
- Specified by:
getError
in interfaceErrors.ExecutionStatusOrBuilder
- Returns:
- The error.
-
setError
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
-
setError
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
-
mergeError
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
-
clearError
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
-
getErrorBuilder
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
-
getErrorOrBuilder
Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;
- Specified by:
getErrorOrBuilder
in interfaceErrors.ExecutionStatusOrBuilder
-
setUnknownFields
public final Errors.ExecutionStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-
mergeUnknownFields
public final Errors.ExecutionStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Errors.ExecutionStatus.Builder>
-