public final class ImageImportOsAdaptationParameters extends GeneratedMessage implements ImageImportOsAdaptationParametersOrBuilder
Parameters affecting the OS adaptation process.
Protobuf type google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ADAPTATION_MODIFIERS_FIELD_NUMBER
public static final int ADAPTATION_MODIFIERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImageImportOsAdaptationParameters.Builder newBuilder()
newBuilder(ImageImportOsAdaptationParameters prototype)
public static ImageImportOsAdaptationParameters.Builder newBuilder(ImageImportOsAdaptationParameters prototype)
public static ImageImportOsAdaptationParameters parseDelimitedFrom(InputStream input)
public static ImageImportOsAdaptationParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImageImportOsAdaptationParameters parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageImportOsAdaptationParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImageImportOsAdaptationParameters parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageImportOsAdaptationParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageImportOsAdaptationParameters parseFrom(CodedInputStream input)
public static ImageImportOsAdaptationParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageImportOsAdaptationParameters parseFrom(InputStream input)
public static ImageImportOsAdaptationParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImageImportOsAdaptationParameters parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImageImportOsAdaptationParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImageImportOsAdaptationParameters> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdaptationModifiers(int index)
public AdaptationModifier getAdaptationModifiers(int index)
Optional. Modifiers to be used as configuration of the OS adaptation
process.
repeated .google.cloud.vmmigration.v1.AdaptationModifier adaptation_modifiers = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getAdaptationModifiersCount()
public int getAdaptationModifiersCount()
Optional. Modifiers to be used as configuration of the OS adaptation
process.
repeated .google.cloud.vmmigration.v1.AdaptationModifier adaptation_modifiers = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getAdaptationModifiersList()
public List<AdaptationModifier> getAdaptationModifiersList()
Optional. Modifiers to be used as configuration of the OS adaptation
process.
repeated .google.cloud.vmmigration.v1.AdaptationModifier adaptation_modifiers = 4 [(.google.api.field_behavior) = OPTIONAL];
getAdaptationModifiersOrBuilder(int index)
public AdaptationModifierOrBuilder getAdaptationModifiersOrBuilder(int index)
Optional. Modifiers to be used as configuration of the OS adaptation
process.
repeated .google.cloud.vmmigration.v1.AdaptationModifier adaptation_modifiers = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getAdaptationModifiersOrBuilderList()
public List<? extends AdaptationModifierOrBuilder> getAdaptationModifiersOrBuilderList()
Optional. Modifiers to be used as configuration of the OS adaptation
process.
repeated .google.cloud.vmmigration.v1.AdaptationModifier adaptation_modifiers = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vmmigration.v1.AdaptationModifierOrBuilder> |
|
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()
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.
|
getParserForType()
public Parser<ImageImportOsAdaptationParameters> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImageImportOsAdaptationParameters.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ImageImportOsAdaptationParameters.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ImageImportOsAdaptationParameters.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides