Interface DiskImageTargetDetailsOrBuilder (1.74.0)

public interface DiskImageTargetDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The additionalLicenses at the given index.

getAdditionalLicensesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the additionalLicenses at the given index.

getAdditionalLicensesCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the additionalLicenses.

getDataDiskImageImport()

public abstract 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.

getDataDiskImageImportOrBuilder()

public abstract 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

getDescription()

public abstract 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 abstract 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.

getEncryption()

public abstract 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.

getEncryptionOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract 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 abstract 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 abstract 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 abstract 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

getOsAdaptationConfigCase()

public abstract DiskImageTargetDetails.OsAdaptationConfigCase getOsAdaptationConfigCase()
Returns
Type Description
DiskImageTargetDetails.OsAdaptationConfigCase

getOsAdaptationParameters()

public abstract 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.

getOsAdaptationParametersOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.