Class AvailableUpdates (1.28.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
TypeDescription
int

NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER

public static final int NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AvailableUpdates getDefaultInstance()
Returns
TypeDescription
AvailableUpdates

getDescriptor()

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

newBuilder()

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

newBuilder(AvailableUpdates prototype)

public static AvailableUpdates.Builder newBuilder(AvailableUpdates prototype)
Parameter
NameDescription
prototypeAvailableUpdates
Returns
TypeDescription
AvailableUpdates.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AvailableUpdates getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ApplianceVersionOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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