Package com.exonum.messages.core.runtime
Interface Lifecycle.InstanceStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lifecycle.InstanceStatus
,Lifecycle.InstanceStatus.Builder
- Enclosing class:
- Lifecycle
public static interface Lifecycle.InstanceStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Lifecycle.InstanceMigration
getMigration()
Service is in process of migration.Lifecycle.InstanceMigrationOrBuilder
getMigrationOrBuilder()
Service is in process of migration.Lifecycle.InstanceStatus.Simple
getSimple()
Service has a status from the `Simple` enum.int
getSimpleValue()
Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.StatusCase
getStatusCase()
boolean
hasMigration()
Service is in process of migration.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSimpleValue
int getSimpleValue()Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;
- Returns:
- The enum numeric value on the wire for simple.
-
getSimple
Lifecycle.InstanceStatus.Simple getSimple()Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;
- Returns:
- The simple.
-
hasMigration
boolean hasMigration()Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;
- Returns:
- Whether the migration field is set.
-
getMigration
Lifecycle.InstanceMigration getMigration()Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;
- Returns:
- The migration.
-
getMigrationOrBuilder
Lifecycle.InstanceMigrationOrBuilder getMigrationOrBuilder()Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;
-
getStatusCase
Lifecycle.InstanceStatus.StatusCase getStatusCase()
-