Package com.exonum.messages.core.runtime
Interface Lifecycle.InstanceMigrationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lifecycle.InstanceMigration
,Lifecycle.InstanceMigration.Builder
- Enclosing class:
- Lifecycle
public static interface Lifecycle.InstanceMigrationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Types.Hash
getCompletedHash()
Consensus-wide outcome of the migration, in the form of the aggregation hash of the migrated data.Types.HashOrBuilder
getCompletedHashOrBuilder()
Consensus-wide outcome of the migration, in the form of the aggregation hash of the migrated data.java.lang.String
getEndVersion()
Version of the instance data after the migration is completed.com.google.protobuf.ByteString
getEndVersionBytes()
Version of the instance data after the migration is completed.Base.ArtifactId
getTarget()
Migration target to obtain migration scripts from.Base.ArtifactIdOrBuilder
getTargetOrBuilder()
Migration target to obtain migration scripts from.boolean
hasCompletedHash()
Consensus-wide outcome of the migration, in the form of the aggregation hash of the migrated data.boolean
hasTarget()
Migration target to obtain migration scripts from.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTarget
boolean hasTarget()Migration target to obtain migration scripts from. This artifact must be deployed on the blockchain.
.exonum.runtime.ArtifactId target = 1;
- Returns:
- Whether the target field is set.
-
getTarget
Base.ArtifactId getTarget()Migration target to obtain migration scripts from. This artifact must be deployed on the blockchain.
.exonum.runtime.ArtifactId target = 1;
- Returns:
- The target.
-
getTargetOrBuilder
Base.ArtifactIdOrBuilder getTargetOrBuilder()Migration target to obtain migration scripts from. This artifact must be deployed on the blockchain.
.exonum.runtime.ArtifactId target = 1;
-
getEndVersion
java.lang.String getEndVersion()Version of the instance data after the migration is completed. Note that it does not necessarily match the version of `target`, but should be not greater.
string end_version = 2;
- Returns:
- The endVersion.
-
getEndVersionBytes
com.google.protobuf.ByteString getEndVersionBytes()Version of the instance data after the migration is completed. Note that it does not necessarily match the version of `target`, but should be not greater.
string end_version = 2;
- Returns:
- The bytes for endVersion.
-
hasCompletedHash
boolean hasCompletedHash()Consensus-wide outcome of the migration, in the form of the aggregation hash of the migrated data. The lack of value signifies that the migration is not finished yet.
.exonum.crypto.Hash completed_hash = 3;
- Returns:
- Whether the completedHash field is set.
-
getCompletedHash
Types.Hash getCompletedHash()Consensus-wide outcome of the migration, in the form of the aggregation hash of the migrated data. The lack of value signifies that the migration is not finished yet.
.exonum.crypto.Hash completed_hash = 3;
- Returns:
- The completedHash.
-
getCompletedHashOrBuilder
Types.HashOrBuilder getCompletedHashOrBuilder()Consensus-wide outcome of the migration, in the form of the aggregation hash of the migrated data. The lack of value signifies that the migration is not finished yet.
.exonum.crypto.Hash completed_hash = 3;
-