Interface ImageImportOrBuilder (1.74.0)

public interface ImageImportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudStorageUri()

public abstract String getCloudStorageUri()

Immutable. The path to the Cloud Storage file from which the image should be imported.

string cloud_storage_uri = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The cloudStorageUri.

getCloudStorageUriBytes()

public abstract ByteString getCloudStorageUriBytes()

Immutable. The path to the Cloud Storage file from which the image should be imported.

string cloud_storage_uri = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for cloudStorageUri.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time the image import was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the image import was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDiskImageTargetDefaults()

public abstract DiskImageTargetDetails getDiskImageTargetDefaults()

Immutable. Target details for importing a disk image, will be used by ImageImportJob.

.google.cloud.vmmigration.v1.DiskImageTargetDetails disk_image_target_defaults = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DiskImageTargetDetails

The diskImageTargetDefaults.

getDiskImageTargetDefaultsOrBuilder()

public abstract DiskImageTargetDetailsOrBuilder getDiskImageTargetDefaultsOrBuilder()

Immutable. Target details for importing a disk image, will be used by ImageImportJob.

.google.cloud.vmmigration.v1.DiskImageTargetDetails disk_image_target_defaults = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DiskImageTargetDetailsOrBuilder

getEncryption()

public abstract Encryption getEncryption()

Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.

.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Encryption

The encryption.

getEncryptionOrBuilder()

public abstract EncryptionOrBuilder getEncryptionOrBuilder()

Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.

.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EncryptionOrBuilder

getMachineImageTargetDefaults()

public abstract MachineImageTargetDetails getMachineImageTargetDefaults()

Immutable. Target details for importing a machine image, will be used by ImageImportJob.

.google.cloud.vmmigration.v1.MachineImageTargetDetails machine_image_target_defaults = 7 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineImageTargetDetails

The machineImageTargetDefaults.

getMachineImageTargetDefaultsOrBuilder()

public abstract MachineImageTargetDetailsOrBuilder getMachineImageTargetDefaultsOrBuilder()

Immutable. Target details for importing a machine image, will be used by ImageImportJob.

.google.cloud.vmmigration.v1.MachineImageTargetDetails machine_image_target_defaults = 7 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineImageTargetDetailsOrBuilder

getName()

public abstract String getName()

Output only. The resource path of the ImageImport.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource path of the ImageImport.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getRecentImageImportJobs(int index)

public abstract ImageImportJob getRecentImageImportJobs(int index)

Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.

repeated .google.cloud.vmmigration.v1.ImageImportJob recent_image_import_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImageImportJob

getRecentImageImportJobsCount()

public abstract int getRecentImageImportJobsCount()

Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.

repeated .google.cloud.vmmigration.v1.ImageImportJob recent_image_import_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRecentImageImportJobsList()

public abstract List<ImageImportJob> getRecentImageImportJobsList()

Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.

repeated .google.cloud.vmmigration.v1.ImageImportJob recent_image_import_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ImageImportJob>

getRecentImageImportJobsOrBuilder(int index)

public abstract ImageImportJobOrBuilder getRecentImageImportJobsOrBuilder(int index)

Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.

repeated .google.cloud.vmmigration.v1.ImageImportJob recent_image_import_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ImageImportJobOrBuilder

getRecentImageImportJobsOrBuilderList()

public abstract List<? extends ImageImportJobOrBuilder> getRecentImageImportJobsOrBuilderList()

Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.

repeated .google.cloud.vmmigration.v1.ImageImportJob recent_image_import_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.ImageImportJobOrBuilder>

getSourceCase()

public abstract ImageImport.SourceCase getSourceCase()
Returns
Type Description
ImageImport.SourceCase

getTargetDefaultsCase()

public abstract ImageImport.TargetDefaultsCase getTargetDefaultsCase()
Returns
Type Description
ImageImport.TargetDefaultsCase

hasCloudStorageUri()

public abstract boolean hasCloudStorageUri()

Immutable. The path to the Cloud Storage file from which the image should be imported.

string cloud_storage_uri = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the cloudStorageUri field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time the image import was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDiskImageTargetDefaults()

public abstract boolean hasDiskImageTargetDefaults()

Immutable. Target details for importing a disk image, will be used by ImageImportJob.

.google.cloud.vmmigration.v1.DiskImageTargetDetails disk_image_target_defaults = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the diskImageTargetDefaults field is set.

hasEncryption()

public abstract boolean hasEncryption()

Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.

.google.cloud.vmmigration.v1.Encryption encryption = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the encryption field is set.

hasMachineImageTargetDefaults()

public abstract boolean hasMachineImageTargetDefaults()

Immutable. Target details for importing a machine image, will be used by ImageImportJob.

.google.cloud.vmmigration.v1.MachineImageTargetDetails machine_image_target_defaults = 7 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the machineImageTargetDefaults field is set.