Package com.google.cloud.vmmigration.v1
Interface UpgradeStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpgradeStatus,UpgradeStatus.Builder
public interface UpgradeStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.rpc.StatusgetError()Provides details on the state of the upgrade operation in case of an error.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Provides details on the state of the upgrade operation in case of an error.StringgetPreviousVersion()The version from which we upgraded.com.google.protobuf.ByteStringgetPreviousVersionBytes()The version from which we upgraded.com.google.protobuf.TimestampgetStartTime()The time the operation was started.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()The time the operation was started.UpgradeStatus.StategetState()The state of the upgradeAppliance operation.intgetStateValue()The state of the upgradeAppliance operation.StringgetVersion()The version to upgrade to.com.google.protobuf.ByteStringgetVersionBytes()The version to upgrade to.booleanhasError()Provides details on the state of the upgrade operation in case of an error.booleanhasStartTime()The time the operation was started.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVersion
String getVersion()
The version to upgrade to.
string version = 1;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
The version to upgrade to.
string version = 1;- Returns:
- The bytes for version.
-
getStateValue
int getStateValue()
The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
UpgradeStatus.State getState()
The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;- Returns:
- The state.
-
hasError
boolean hasError()
Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
-
hasStartTime
boolean hasStartTime()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
-
getPreviousVersion
String getPreviousVersion()
The version from which we upgraded.
string previous_version = 5;- Returns:
- The previousVersion.
-
getPreviousVersionBytes
com.google.protobuf.ByteString getPreviousVersionBytes()
The version from which we upgraded.
string previous_version = 5;- Returns:
- The bytes for previousVersion.
-
-