public final class UpgradeStatus extends GeneratedMessageV3 implements UpgradeStatusOrBuilder
UpgradeStatus contains information about upgradeAppliance operation.
Protobuf type google.cloud.vmmigration.v1.UpgradeStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PREVIOUS_VERSION_FIELD_NUMBER
public static final int PREVIOUS_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpgradeStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpgradeStatus.Builder newBuilder()
newBuilder(UpgradeStatus prototype)
public static UpgradeStatus.Builder newBuilder(UpgradeStatus prototype)
public static UpgradeStatus parseDelimitedFrom(InputStream input)
public static UpgradeStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpgradeStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpgradeStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(CodedInputStream input)
public static UpgradeStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(InputStream input)
public static UpgradeStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpgradeStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpgradeStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpgradeStatus getDefaultInstanceForType()
getError()
Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
Returns |
Type |
Description |
com.google.rpc.Status |
The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getParserForType()
public Parser<UpgradeStatus> getParserForType()
Overrides
getPreviousVersion()
public String getPreviousVersion()
The version from which we upgraded.
string previous_version = 5;
Returns |
Type |
Description |
String |
The previousVersion.
|
getPreviousVersionBytes()
public ByteString getPreviousVersionBytes()
The version from which we upgraded.
string previous_version = 5;
Returns |
Type |
Description |
ByteString |
The bytes for previousVersion.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStartTime()
public Timestamp getStartTime()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
Returns |
Type |
Description |
Timestamp |
The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
getState()
public UpgradeStatus.State getState()
The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
getStateValue()
public int getStateValue()
The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getVersion()
public String getVersion()
The version to upgrade to.
string version = 1;
Returns |
Type |
Description |
String |
The version.
|
getVersionBytes()
public ByteString getVersionBytes()
The version to upgrade to.
string version = 1;
Returns |
Type |
Description |
ByteString |
The bytes for version.
|
hasError()
public boolean hasError()
Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
Returns |
Type |
Description |
boolean |
Whether the error field is set.
|
hasStartTime()
public boolean hasStartTime()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpgradeStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpgradeStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides