public final class UpgradeStatus extends GeneratedMessageV3 implements UpgradeStatusOrBuilder
UpgradeStatus contains information about upgradeAppliance operation.
Protobuf type google.cloud.vmmigration.v1.UpgradeStatus
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
PREVIOUS_VERSION_FIELD_NUMBER
public static final int PREVIOUS_VERSION_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpgradeStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpgradeStatus.Builder newBuilder()
Returns
newBuilder(UpgradeStatus prototype)
public static UpgradeStatus.Builder newBuilder(UpgradeStatus prototype)
Parameter
Returns
public static UpgradeStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpgradeStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpgradeStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpgradeStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpgradeStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpgradeStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpgradeStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpgradeStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpgradeStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpgradeStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpgradeStatus getDefaultInstanceForType()
Returns
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()
Returns
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
Overrides
getStartTime()
public Timestamp getStartTime()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
Returns
getState()
public UpgradeStatus.State getState()
The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpgradeStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpgradeStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions