Class UpgradeStatus (1.31.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
TypeDescription
int

PREVIOUS_VERSION_FIELD_NUMBER

public static final int PREVIOUS_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpgradeStatus getDefaultInstance()
Returns
TypeDescription
UpgradeStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpgradeStatus.Builder newBuilder()
Returns
TypeDescription
UpgradeStatus.Builder

newBuilder(UpgradeStatus prototype)

public static UpgradeStatus.Builder newBuilder(UpgradeStatus prototype)
Parameter
NameDescription
prototypeUpgradeStatus
Returns
TypeDescription
UpgradeStatus.Builder

parseDelimitedFrom(InputStream input)

public static UpgradeStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpgradeStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpgradeStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpgradeStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpgradeStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpgradeStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpgradeStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpgradeStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpgradeStatus> parser()
Returns
TypeDescription
Parser<UpgradeStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpgradeStatus getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getParserForType()

public Parser<UpgradeStatus> getParserForType()
Returns
TypeDescription
Parser<UpgradeStatus>
Overrides

getPreviousVersion()

public String getPreviousVersion()

The version from which we upgraded.

string previous_version = 5;

Returns
TypeDescription
String

The previousVersion.

getPreviousVersionBytes()

public ByteString getPreviousVersionBytes()

The version from which we upgraded.

string previous_version = 5;

Returns
TypeDescription
ByteString

The bytes for previousVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The time the operation was started.

.google.protobuf.Timestamp start_time = 4;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the operation was started.

.google.protobuf.Timestamp start_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getState()

public UpgradeStatus.State getState()

The state of the upgradeAppliance operation.

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

Returns
TypeDescription
UpgradeStatus.State

The state.

getStateValue()

public int getStateValue()

The state of the upgradeAppliance operation.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getVersion()

public String getVersion()

The version to upgrade to.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version to upgrade to.

string version = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the error field is set.

hasStartTime()

public boolean hasStartTime()

The time the operation was started.

.google.protobuf.Timestamp start_time = 4;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpgradeStatus.Builder newBuilderForType()
Returns
TypeDescription
UpgradeStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpgradeStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpgradeStatus.Builder toBuilder()
Returns
TypeDescription
UpgradeStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException