- 1.76.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class DiskImageTargetDetails.Builder extends GeneratedMessageV3.Builder<DiskImageTargetDetails.Builder> implements DiskImageTargetDetailsOrBuilderThe target details of the image resource that will be created by the import job.
Protobuf type google.cloud.vmmigration.v1.DiskImageTargetDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiskImageTargetDetails.BuilderImplements
DiskImageTargetDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdditionalLicenses(String value)
public DiskImageTargetDetails.Builder addAdditionalLicenses(String value)Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe additionalLicenses to add. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
addAdditionalLicensesBytes(ByteString value)
public DiskImageTargetDetails.Builder addAdditionalLicensesBytes(ByteString value)Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the additionalLicenses to add. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
addAllAdditionalLicenses(Iterable<String> values)
public DiskImageTargetDetails.Builder addAllAdditionalLicenses(Iterable<String> values)Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The additionalLicenses to add. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskImageTargetDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
build()
public DiskImageTargetDetails build()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails |
|
buildPartial()
public DiskImageTargetDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails |
|
clear()
public DiskImageTargetDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearAdditionalLicenses()
public DiskImageTargetDetails.Builder clearAdditionalLicenses()Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
clearDataDiskImageImport()
public DiskImageTargetDetails.Builder clearDataDiskImageImport()Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearDescription()
public DiskImageTargetDetails.Builder clearDescription()Optional. An optional description of the image.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
clearEncryption()
public DiskImageTargetDetails.Builder clearEncryption()Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearFamilyName()
public DiskImageTargetDetails.Builder clearFamilyName()Optional. The name of the image family to which the new image belongs.
string family_name = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DiskImageTargetDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearImageName()
public DiskImageTargetDetails.Builder clearImageName()Required. The name of the image to be created.
string image_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
clearLabels()
public DiskImageTargetDetails.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskImageTargetDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearOsAdaptationConfig()
public DiskImageTargetDetails.Builder clearOsAdaptationConfig()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearOsAdaptationParameters()
public DiskImageTargetDetails.Builder clearOsAdaptationParameters()Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
clearSingleRegionStorage()
public DiskImageTargetDetails.Builder clearSingleRegionStorage()Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool single_region_storage = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
clearTargetProject()
public DiskImageTargetDetails.Builder clearTargetProject()Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
clone()
public DiskImageTargetDetails.Builder clone()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdditionalLicenses(int index)
public String getAdditionalLicenses(int index)Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The additionalLicenses at the given index. |
getAdditionalLicensesBytes(int index)
public ByteString getAdditionalLicensesBytes(int index)Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the additionalLicenses at the given index. |
getAdditionalLicensesCount()
public int getAdditionalLicensesCount()Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of additionalLicenses. |
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the additionalLicenses. |
getDataDiskImageImport()
public DataDiskImageImport getDataDiskImageImport()Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport |
The dataDiskImageImport. |
getDataDiskImageImportBuilder()
public DataDiskImageImport.Builder getDataDiskImageImportBuilder()Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImport.Builder |
|
getDataDiskImageImportOrBuilder()
public DataDiskImageImportOrBuilder getDataDiskImageImportOrBuilder()Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataDiskImageImportOrBuilder |
|
getDefaultInstanceForType()
public DiskImageTargetDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails |
|
getDescription()
public String getDescription()Optional. An optional description of the image.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. An optional description of the image.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryption()
public Encryption getEncryption()Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Encryption |
The encryption. |
getEncryptionBuilder()
public Encryption.Builder getEncryptionBuilder()Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Encryption.Builder |
|
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
EncryptionOrBuilder |
|
getFamilyName()
public String getFamilyName()Optional. The name of the image family to which the new image belongs.
string family_name = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The familyName. |
getFamilyNameBytes()
public ByteString getFamilyNameBytes()Optional. The name of the image family to which the new image belongs.
string family_name = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for familyName. |
getImageName()
public String getImageName()Required. The name of the image to be created.
string image_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The imageName. |
getImageNameBytes()
public ByteString getImageNameBytes()Required. The name of the image to be created.
string image_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageName. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getOsAdaptationConfigCase()
public DiskImageTargetDetails.OsAdaptationConfigCase getOsAdaptationConfigCase()| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.OsAdaptationConfigCase |
|
getOsAdaptationParameters()
public ImageImportOsAdaptationParameters getOsAdaptationParameters()Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageImportOsAdaptationParameters |
The osAdaptationParameters. |
getOsAdaptationParametersBuilder()
public ImageImportOsAdaptationParameters.Builder getOsAdaptationParametersBuilder()Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageImportOsAdaptationParameters.Builder |
|
getOsAdaptationParametersOrBuilder()
public ImageImportOsAdaptationParametersOrBuilder getOsAdaptationParametersOrBuilder()Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageImportOsAdaptationParametersOrBuilder |
|
getSingleRegionStorage()
public boolean getSingleRegionStorage()Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool single_region_storage = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The singleRegionStorage. |
getTargetProject()
public String getTargetProject()Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The targetProject. |
getTargetProjectBytes()
public ByteString getTargetProjectBytes()Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetProject. |
hasDataDiskImageImport()
public boolean hasDataDiskImageImport()Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataDiskImageImport field is set. |
hasEncryption()
public boolean hasEncryption()Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryption field is set. |
hasOsAdaptationParameters()
public boolean hasOsAdaptationParameters()Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the osAdaptationParameters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataDiskImageImport(DataDiskImageImport value)
public DiskImageTargetDetails.Builder mergeDataDiskImageImport(DataDiskImageImport value)Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DataDiskImageImport |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
mergeEncryption(Encryption value)
public DiskImageTargetDetails.Builder mergeEncryption(Encryption value)Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
Encryption |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
mergeFrom(DiskImageTargetDetails other)
public DiskImageTargetDetails.Builder mergeFrom(DiskImageTargetDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
DiskImageTargetDetails |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiskImageTargetDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiskImageTargetDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
mergeOsAdaptationParameters(ImageImportOsAdaptationParameters value)
public DiskImageTargetDetails.Builder mergeOsAdaptationParameters(ImageImportOsAdaptationParameters value)Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ImageImportOsAdaptationParameters |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskImageTargetDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
putAllLabels(Map<String,String> values)
public DiskImageTargetDetails.Builder putAllLabels(Map<String,String> values)Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
putLabels(String key, String value)
public DiskImageTargetDetails.Builder putLabels(String key, String value)Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
removeLabels(String key)
public DiskImageTargetDetails.Builder removeLabels(String key)Optional. A map of labels to associate with the image.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setAdditionalLicenses(int index, String value)
public DiskImageTargetDetails.Builder setAdditionalLicenses(int index, String value)Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
repeated string additional_licenses = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe additionalLicenses to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setDataDiskImageImport(DataDiskImageImport value)
public DiskImageTargetDetails.Builder setDataDiskImageImport(DataDiskImageImport value)Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DataDiskImageImport |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setDataDiskImageImport(DataDiskImageImport.Builder builderForValue)
public DiskImageTargetDetails.Builder setDataDiskImageImport(DataDiskImageImport.Builder builderForValue)Optional. Use to skip OS adaptation process.
.google.cloud.vmmigration.v1.DataDiskImageImport data_disk_image_import = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataDiskImageImport.Builder |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setDescription(String value)
public DiskImageTargetDetails.Builder setDescription(String value)Optional. An optional description of the image.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DiskImageTargetDetails.Builder setDescriptionBytes(ByteString value)Optional. An optional description of the image.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setEncryption(Encryption value)
public DiskImageTargetDetails.Builder setEncryption(Encryption value)Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
Encryption |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setEncryption(Encryption.Builder builderForValue)
public DiskImageTargetDetails.Builder setEncryption(Encryption.Builder builderForValue)Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Encryption.Builder |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setFamilyName(String value)
public DiskImageTargetDetails.Builder setFamilyName(String value)Optional. The name of the image family to which the new image belongs.
string family_name = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe familyName to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setFamilyNameBytes(ByteString value)
public DiskImageTargetDetails.Builder setFamilyNameBytes(ByteString value)Optional. The name of the image family to which the new image belongs.
string family_name = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for familyName to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DiskImageTargetDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setImageName(String value)
public DiskImageTargetDetails.Builder setImageName(String value)Required. The name of the image to be created.
string image_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe imageName to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setImageNameBytes(ByteString value)
public DiskImageTargetDetails.Builder setImageNameBytes(ByteString value)Required. The name of the image to be created.
string image_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for imageName to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setOsAdaptationParameters(ImageImportOsAdaptationParameters value)
public DiskImageTargetDetails.Builder setOsAdaptationParameters(ImageImportOsAdaptationParameters value)Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ImageImportOsAdaptationParameters |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setOsAdaptationParameters(ImageImportOsAdaptationParameters.Builder builderForValue)
public DiskImageTargetDetails.Builder setOsAdaptationParameters(ImageImportOsAdaptationParameters.Builder builderForValue)Optional. Use to set the parameters relevant for the OS adaptation process.
.google.cloud.vmmigration.v1.ImageImportOsAdaptationParameters os_adaptation_parameters = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImageImportOsAdaptationParameters.Builder |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskImageTargetDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|
setSingleRegionStorage(boolean value)
public DiskImageTargetDetails.Builder setSingleRegionStorage(boolean value)Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
bool single_region_storage = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe singleRegionStorage to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setTargetProject(String value)
public DiskImageTargetDetails.Builder setTargetProject(String value)Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setTargetProjectBytes(ByteString value)
public DiskImageTargetDetails.Builder setTargetProjectBytes(ByteString value)Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
string target_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskImageTargetDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DiskImageTargetDetails.Builder |
|