Class AvailableUpdates.Builder (1.7.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public AvailableUpdates build()
Returns
TypeDescription
AvailableUpdates

buildPartial()

public AvailableUpdates buildPartial()
Returns
TypeDescription
AvailableUpdates

clear()

public AvailableUpdates.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AvailableUpdates.Builder clone()
Returns 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

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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