public static final class ImageImportOsAdaptationParameters.Builder extends GeneratedMessageV3.Builder<ImageImportOsAdaptationParameters.Builder> implements ImageImportOsAdaptationParametersOrBuilder
Parameters affecting the OS adaptation process.
Protobuf type google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageImportOsAdaptationParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImageImportOsAdaptationParameters build()
buildPartial()
public ImageImportOsAdaptationParameters buildPartial()
clear()
public ImageImportOsAdaptationParameters.Builder clear()
Overrides
clearBootConversion()
public ImageImportOsAdaptationParameters.Builder clearBootConversion()
Optional. By default the image will keep its existing boot option. Setting
this property will trigger an internal process which will convert the
image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public ImageImportOsAdaptationParameters.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGeneralize()
public ImageImportOsAdaptationParameters.Builder clearGeneralize()
Optional. Set to true in order to generalize the imported image.
The generalization process enables co-existence of multiple VMs created
from the same image.
For Windows, generalizing the image removes computer-specific information
such as installed drivers and the computer security identifier (SID).
bool generalize = 1 [(.google.api.field_behavior) = OPTIONAL];
clearLicenseType()
public ImageImportOsAdaptationParameters.Builder clearLicenseType()
Optional. Choose which type of license to apply to the imported image.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageImportOsAdaptationParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImageImportOsAdaptationParameters.Builder clone()
Overrides
getBootConversion()
public BootConversion getBootConversion()
Optional. By default the image will keep its existing boot option. Setting
this property will trigger an internal process which will convert the
image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 3 [(.google.api.field_behavior) = OPTIONAL];
getBootConversionValue()
public int getBootConversionValue()
Optional. By default the image will keep its existing boot option. Setting
this property will trigger an internal process which will convert the
image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for bootConversion.
|
getDefaultInstanceForType()
public ImageImportOsAdaptationParameters getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGeneralize()
public boolean getGeneralize()
Optional. Set to true in order to generalize the imported image.
The generalization process enables co-existence of multiple VMs created
from the same image.
For Windows, generalizing the image removes computer-specific information
such as installed drivers and the computer security identifier (SID).
bool generalize = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The generalize.
|
getLicenseType()
public ComputeEngineLicenseType getLicenseType()
Optional. Choose which type of license to apply to the imported image.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getLicenseTypeValue()
public int getLicenseTypeValue()
Optional. Choose which type of license to apply to the imported image.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for licenseType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImageImportOsAdaptationParameters other)
public ImageImportOsAdaptationParameters.Builder mergeFrom(ImageImportOsAdaptationParameters other)
public ImageImportOsAdaptationParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImageImportOsAdaptationParameters.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageImportOsAdaptationParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBootConversion(BootConversion value)
public ImageImportOsAdaptationParameters.Builder setBootConversion(BootConversion value)
Optional. By default the image will keep its existing boot option. Setting
this property will trigger an internal process which will convert the
image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
BootConversion
The bootConversion to set.
|
setBootConversionValue(int value)
public ImageImportOsAdaptationParameters.Builder setBootConversionValue(int value)
Optional. By default the image will keep its existing boot option. Setting
this property will trigger an internal process which will convert the
image from using the existing boot option to another.
The size of the boot disk might be increased to allow the conversion
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for bootConversion to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImageImportOsAdaptationParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGeneralize(boolean value)
public ImageImportOsAdaptationParameters.Builder setGeneralize(boolean value)
Optional. Set to true in order to generalize the imported image.
The generalization process enables co-existence of multiple VMs created
from the same image.
For Windows, generalizing the image removes computer-specific information
such as installed drivers and the computer security identifier (SID).
bool generalize = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
boolean
The generalize to set.
|
setLicenseType(ComputeEngineLicenseType value)
public ImageImportOsAdaptationParameters.Builder setLicenseType(ComputeEngineLicenseType value)
Optional. Choose which type of license to apply to the imported image.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 2 [(.google.api.field_behavior) = OPTIONAL];
setLicenseTypeValue(int value)
public ImageImportOsAdaptationParameters.Builder setLicenseTypeValue(int value)
Optional. Choose which type of license to apply to the imported image.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for licenseType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageImportOsAdaptationParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageImportOsAdaptationParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides