Class AvailableUpdates (1.55.0)

public final class AvailableUpdates extends GeneratedMessageV3 implements AvailableUpdatesOrBuilder

Holds informatiom about the available versions for upgrade.

Protobuf type google.cloud.vmmigration.v1.AvailableUpdates

Static Fields

IN_PLACE_UPDATE_FIELD_NUMBER

public static final int IN_PLACE_UPDATE_FIELD_NUMBER
Field Value
Type Description
int

NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER

public static final int NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AvailableUpdates getDefaultInstance()
Returns
Type Description
AvailableUpdates

getDescriptor()

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

newBuilder()

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

newBuilder(AvailableUpdates prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AvailableUpdates getDefaultInstanceForType()
Returns
Type Description
AvailableUpdates

getInPlaceUpdate()

public ApplianceVersion getInPlaceUpdate()

The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.

.google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;

Returns
Type Description
ApplianceVersion

The inPlaceUpdate.

getInPlaceUpdateOrBuilder()

public ApplianceVersionOrBuilder getInPlaceUpdateOrBuilder()

The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.

.google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;

Returns
Type Description
ApplianceVersionOrBuilder

getNewDeployableAppliance()

public ApplianceVersion getNewDeployableAppliance()

The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.

.google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;

Returns
Type Description
ApplianceVersion

The newDeployableAppliance.

getNewDeployableApplianceOrBuilder()

public ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder()

The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.

.google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;

Returns
Type Description
ApplianceVersionOrBuilder

getParserForType()

public Parser<AvailableUpdates> getParserForType()
Returns
Type Description
Parser<AvailableUpdates>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasInPlaceUpdate()

public boolean hasInPlaceUpdate()

The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.

.google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;

Returns
Type Description
boolean

Whether the inPlaceUpdate field is set.

hasNewDeployableAppliance()

public boolean hasNewDeployableAppliance()

The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.

.google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;

Returns
Type Description
boolean

Whether the newDeployableAppliance 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 AvailableUpdates.Builder newBuilderForType()
Returns
Type Description
AvailableUpdates.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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