Package com.exonum.messages.core.runtime
Class Lifecycle.MigrationStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
com.exonum.messages.core.runtime.Lifecycle.MigrationStatus.Builder
- All Implemented Interfaces:
Lifecycle.MigrationStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Lifecycle.MigrationStatus
public static final class Lifecycle.MigrationStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder> implements Lifecycle.MigrationStatusOrBuilder
Local result of a migration.Protobuf type
exonum.runtime.MigrationStatus-
Method Summary
Modifier and Type Method Description Lifecycle.MigrationStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Lifecycle.MigrationStatusbuild()Lifecycle.MigrationStatusbuildPartial()Lifecycle.MigrationStatus.Builderclear()Lifecycle.MigrationStatus.BuilderclearError()Human-readable description of an error that has occurred during migration.Lifecycle.MigrationStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Lifecycle.MigrationStatus.BuilderclearHash()Hash of the successfully migrated data.Lifecycle.MigrationStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Lifecycle.MigrationStatus.BuilderclearResult()Lifecycle.MigrationStatus.Builderclone()Lifecycle.MigrationStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetError()Human-readable description of an error that has occurred during migration.com.google.protobuf.ByteStringgetErrorBytes()Human-readable description of an error that has occurred during migration.Types.HashgetHash()Hash of the successfully migrated data.Types.Hash.BuildergetHashBuilder()Hash of the successfully migrated data.Types.HashOrBuildergetHashOrBuilder()Hash of the successfully migrated data.Lifecycle.MigrationStatus.ResultCasegetResultCase()booleanhasHash()Hash of the successfully migrated data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Lifecycle.MigrationStatus.BuildermergeFrom(Lifecycle.MigrationStatus other)Lifecycle.MigrationStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Lifecycle.MigrationStatus.BuildermergeFrom(com.google.protobuf.Message other)Lifecycle.MigrationStatus.BuildermergeHash(Types.Hash value)Hash of the successfully migrated data.Lifecycle.MigrationStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Lifecycle.MigrationStatus.BuildersetError(java.lang.String value)Human-readable description of an error that has occurred during migration.Lifecycle.MigrationStatus.BuildersetErrorBytes(com.google.protobuf.ByteString value)Human-readable description of an error that has occurred during migration.Lifecycle.MigrationStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Lifecycle.MigrationStatus.BuildersetHash(Types.Hash value)Hash of the successfully migrated data.Lifecycle.MigrationStatus.BuildersetHash(Types.Hash.Builder builderForValue)Hash of the successfully migrated data.Lifecycle.MigrationStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Lifecycle.MigrationStatus.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.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.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
setField
public Lifecycle.MigrationStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
clearField
public Lifecycle.MigrationStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
clearOneof
public Lifecycle.MigrationStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
setRepeatedField
public Lifecycle.MigrationStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
addRepeatedField
public Lifecycle.MigrationStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.MigrationStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
mergeFrom
public Lifecycle.MigrationStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.MigrationStatus.Builder>- Throws:
java.io.IOException
-
getResultCase
- Specified by:
getResultCasein interfaceLifecycle.MigrationStatusOrBuilder
-
clearResult
-
hasHash
public boolean hasHash()Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1;- Specified by:
hasHashin interfaceLifecycle.MigrationStatusOrBuilder- Returns:
- Whether the hash field is set.
-
getHash
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1;- Specified by:
getHashin interfaceLifecycle.MigrationStatusOrBuilder- Returns:
- The hash.
-
setHash
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1; -
setHash
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1; -
mergeHash
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1; -
clearHash
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1; -
getHashBuilder
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1; -
getHashOrBuilder
Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1;- Specified by:
getHashOrBuilderin interfaceLifecycle.MigrationStatusOrBuilder
-
getError
public java.lang.String getError()Human-readable description of an error that has occurred during migration.
string error = 2;- Specified by:
getErrorin interfaceLifecycle.MigrationStatusOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()Human-readable description of an error that has occurred during migration.
string error = 2;- Specified by:
getErrorBytesin interfaceLifecycle.MigrationStatusOrBuilder- Returns:
- The bytes for error.
-
setError
Human-readable description of an error that has occurred during migration.
string error = 2;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
Human-readable description of an error that has occurred during migration.
string error = 2;- Returns:
- This builder for chaining.
-
setErrorBytes
Human-readable description of an error that has occurred during migration.
string error = 2;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Lifecycle.MigrationStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-
mergeUnknownFields
public final Lifecycle.MigrationStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.MigrationStatus.Builder>
-