Class ImageImportOsAdaptationParameters (1.74.0)

public final class ImageImportOsAdaptationParameters extends GeneratedMessageV3 implements ImageImportOsAdaptationParametersOrBuilder

Parameters affecting the OS adaptation process.

Protobuf type google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImageImportOsAdaptationParameters

Static Fields

BOOT_CONVERSION_FIELD_NUMBER

public static final int BOOT_CONVERSION_FIELD_NUMBER
Field Value
Type Description
int

GENERALIZE_FIELD_NUMBER

public static final int GENERALIZE_FIELD_NUMBER
Field Value
Type Description
int

LICENSE_TYPE_FIELD_NUMBER

public static final int LICENSE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImageImportOsAdaptationParameters getDefaultInstance()
Returns
Type Description
ImageImportOsAdaptationParameters

getDescriptor()

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

newBuilder()

public static ImageImportOsAdaptationParameters.Builder newBuilder()
Returns
Type Description
ImageImportOsAdaptationParameters.Builder

newBuilder(ImageImportOsAdaptationParameters prototype)

public static ImageImportOsAdaptationParameters.Builder newBuilder(ImageImportOsAdaptationParameters prototype)
Parameter
Name Description
prototype ImageImportOsAdaptationParameters
Returns
Type Description
ImageImportOsAdaptationParameters.Builder

parseDelimitedFrom(InputStream input)

public static ImageImportOsAdaptationParameters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageImportOsAdaptationParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImageImportOsAdaptationParameters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageImportOsAdaptationParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageImportOsAdaptationParameters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageImportOsAdaptationParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageImportOsAdaptationParameters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageImportOsAdaptationParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImageImportOsAdaptationParameters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageImportOsAdaptationParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImageImportOsAdaptationParameters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageImportOsAdaptationParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageImportOsAdaptationParameters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImageImportOsAdaptationParameters> parser()
Returns
Type Description
Parser<ImageImportOsAdaptationParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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];

Returns
Type Description
BootConversion

The bootConversion.

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()
Returns
Type Description
ImageImportOsAdaptationParameters

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];

Returns
Type Description
ComputeEngineLicenseType

The licenseType.

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.

getParserForType()

public Parser<ImageImportOsAdaptationParameters> getParserForType()
Returns
Type Description
Parser<ImageImportOsAdaptationParameters>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImageImportOsAdaptationParameters.Builder newBuilderForType()
Returns
Type Description
ImageImportOsAdaptationParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageImportOsAdaptationParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImageImportOsAdaptationParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImageImportOsAdaptationParameters.Builder toBuilder()
Returns
Type Description
ImageImportOsAdaptationParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException