Package com.exonum.messages.core.runtime
Interface Lifecycle.MigrationStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lifecycle.MigrationStatus
,Lifecycle.MigrationStatus.Builder
- Enclosing class:
- Lifecycle
public static interface Lifecycle.MigrationStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description java.lang.String
getError()
Human-readable description of an error that has occurred during migration.com.google.protobuf.ByteString
getErrorBytes()
Human-readable description of an error that has occurred during migration.Types.Hash
getHash()
Hash of the successfully migrated data.Types.HashOrBuilder
getHashOrBuilder()
Hash of the successfully migrated data.Lifecycle.MigrationStatus.ResultCase
getResultCase()
boolean
hasHash()
Hash of the successfully migrated data.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHash
boolean hasHash()Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1;
- Returns:
- Whether the hash field is set.
-
getHash
Types.Hash getHash()Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1;
- Returns:
- The hash.
-
getHashOrBuilder
Types.HashOrBuilder getHashOrBuilder()Hash of the successfully migrated data.
.exonum.crypto.Hash hash = 1;
-
getError
java.lang.String getError()Human-readable description of an error that has occurred during migration.
string error = 2;
- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()Human-readable description of an error that has occurred during migration.
string error = 2;
- Returns:
- The bytes for error.
-
getResultCase
Lifecycle.MigrationStatus.ResultCase getResultCase()
-