Class UpgradeStatus (1.54.0)

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
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()
Returns
Type Description
UpgradeStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpgradeStatus.Builder newBuilder()
Returns
Type Description
UpgradeStatus.Builder

newBuilder(UpgradeStatus prototype)

public static UpgradeStatus.Builder newBuilder(UpgradeStatus prototype)
Parameter
Name Description
prototype UpgradeStatus
Returns
Type Description
UpgradeStatus.Builder

parseDelimitedFrom(InputStream input)

public static UpgradeStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpgradeStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpgradeStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpgradeStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpgradeStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpgradeStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpgradeStatus> parser()
Returns
Type Description
Parser<UpgradeStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpgradeStatus getDefaultInstanceForType()
Returns
Type Description
UpgradeStatus

getError()

public Status 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
Type Description
Parser<UpgradeStatus>
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;

Returns
Type Description
TimestampOrBuilder

getState()

public UpgradeStatus.State getState()

The state of the upgradeAppliance operation.

.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;

Returns
Type Description
UpgradeStatus.State

The state.

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpgradeStatus.Builder newBuilderForType()
Returns
Type Description
UpgradeStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpgradeStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpgradeStatus.Builder toBuilder()
Returns
Type Description
UpgradeStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException