Class AvailableUpdates.Builder (1.44.0)

public static final class AvailableUpdates.Builder extends GeneratedMessageV3.Builder<AvailableUpdates.Builder> implements AvailableUpdatesOrBuilder

Holds informatiom about the available versions for upgrade.

Protobuf type google.cloud.vmmigration.v1.AvailableUpdates

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AvailableUpdates.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AvailableUpdates.Builder
Overrides

build()

public AvailableUpdates build()
Returns
Type Description
AvailableUpdates

buildPartial()

public AvailableUpdates buildPartial()
Returns
Type Description
AvailableUpdates

clear()

public AvailableUpdates.Builder clear()
Returns
Type Description
AvailableUpdates.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AvailableUpdates.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AvailableUpdates.Builder
Overrides

clearInPlaceUpdate()

public AvailableUpdates.Builder clearInPlaceUpdate()

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
AvailableUpdates.Builder

clearNewDeployableAppliance()

public AvailableUpdates.Builder clearNewDeployableAppliance()

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
AvailableUpdates.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AvailableUpdates.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AvailableUpdates.Builder
Overrides

clone()

public AvailableUpdates.Builder clone()
Returns
Type Description
AvailableUpdates.Builder
Overrides

getDefaultInstanceForType()

public AvailableUpdates getDefaultInstanceForType()
Returns
Type Description
AvailableUpdates

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getInPlaceUpdateBuilder()

public ApplianceVersion.Builder getInPlaceUpdateBuilder()

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.Builder

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.

getNewDeployableApplianceBuilder()

public ApplianceVersion.Builder getNewDeployableApplianceBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AvailableUpdates other)

public AvailableUpdates.Builder mergeFrom(AvailableUpdates other)
Parameter
Name Description
other AvailableUpdates
Returns
Type Description
AvailableUpdates.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AvailableUpdates.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvailableUpdates.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AvailableUpdates.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AvailableUpdates.Builder
Overrides

mergeInPlaceUpdate(ApplianceVersion value)

public AvailableUpdates.Builder mergeInPlaceUpdate(ApplianceVersion value)

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;

Parameter
Name Description
value ApplianceVersion
Returns
Type Description
AvailableUpdates.Builder

mergeNewDeployableAppliance(ApplianceVersion value)

public AvailableUpdates.Builder mergeNewDeployableAppliance(ApplianceVersion value)

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;

Parameter
Name Description
value ApplianceVersion
Returns
Type Description
AvailableUpdates.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AvailableUpdates.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AvailableUpdates.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AvailableUpdates.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AvailableUpdates.Builder
Overrides

setInPlaceUpdate(ApplianceVersion value)

public AvailableUpdates.Builder setInPlaceUpdate(ApplianceVersion value)

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;

Parameter
Name Description
value ApplianceVersion
Returns
Type Description
AvailableUpdates.Builder

setInPlaceUpdate(ApplianceVersion.Builder builderForValue)

public AvailableUpdates.Builder setInPlaceUpdate(ApplianceVersion.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ApplianceVersion.Builder
Returns
Type Description
AvailableUpdates.Builder

setNewDeployableAppliance(ApplianceVersion value)

public AvailableUpdates.Builder setNewDeployableAppliance(ApplianceVersion value)

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;

Parameter
Name Description
value ApplianceVersion
Returns
Type Description
AvailableUpdates.Builder

setNewDeployableAppliance(ApplianceVersion.Builder builderForValue)

public AvailableUpdates.Builder setNewDeployableAppliance(ApplianceVersion.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ApplianceVersion.Builder
Returns
Type Description
AvailableUpdates.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AvailableUpdates.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AvailableUpdates.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AvailableUpdates.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AvailableUpdates.Builder
Overrides