Class AvailableUpdates.Builder (1.3.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AvailableUpdates.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AvailableUpdates.Builder
Overrides

build()

public AvailableUpdates build()
Returns
TypeDescription
AvailableUpdates

buildPartial()

public AvailableUpdates buildPartial()
Returns
TypeDescription
AvailableUpdates

clear()

public AvailableUpdates.Builder clear()
Returns
TypeDescription
AvailableUpdates.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AvailableUpdates.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AvailableUpdates.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AvailableUpdates.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AvailableUpdates.Builder
Overrides

clone()

public AvailableUpdates.Builder clone()
Returns
TypeDescription
AvailableUpdates.Builder
Overrides

getDefaultInstanceForType()

public AvailableUpdates getDefaultInstanceForType()
Returns
TypeDescription
AvailableUpdates

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AvailableUpdates other)

public AvailableUpdates.Builder mergeFrom(AvailableUpdates other)
Parameter
NameDescription
otherAvailableUpdates
Returns
TypeDescription
AvailableUpdates.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AvailableUpdates.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AvailableUpdates.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AvailableUpdates.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueApplianceVersion
Returns
TypeDescription
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
NameDescription
valueApplianceVersion
Returns
TypeDescription
AvailableUpdates.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AvailableUpdates.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AvailableUpdates.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AvailableUpdates.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueApplianceVersion
Returns
TypeDescription
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
NameDescription
builderForValueApplianceVersion.Builder
Returns
TypeDescription
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
NameDescription
valueApplianceVersion
Returns
TypeDescription
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
NameDescription
builderForValueApplianceVersion.Builder
Returns
TypeDescription
AvailableUpdates.Builder

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

public AvailableUpdates.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AvailableUpdates.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AvailableUpdates.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AvailableUpdates.Builder
Overrides