public final class ImageImport extends GeneratedMessageV3 implements ImageImportOrBuilder
ImageImport describes the configuration of the image import to run.
Protobuf type google.cloud.vmmigration.v1.ImageImport
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLOUD_STORAGE_URI_FIELD_NUMBER
public static final int CLOUD_STORAGE_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_IMAGE_TARGET_DEFAULTS_FIELD_NUMBER
public static final int DISK_IMAGE_TARGET_DEFAULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENCRYPTION_FIELD_NUMBER
public static final int ENCRYPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_IMAGE_TARGET_DEFAULTS_FIELD_NUMBER
public static final int MACHINE_IMAGE_TARGET_DEFAULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RECENT_IMAGE_IMPORT_JOBS_FIELD_NUMBER
public static final int RECENT_IMAGE_IMPORT_JOBS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ImageImport getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImageImport.Builder newBuilder()
newBuilder(ImageImport prototype)
public static ImageImport.Builder newBuilder(ImageImport prototype)
public static ImageImport parseDelimitedFrom(InputStream input)
public static ImageImport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImageImport parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageImport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImageImport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageImport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageImport parseFrom(CodedInputStream input)
public static ImageImport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageImport parseFrom(InputStream input)
public static ImageImport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImageImport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImageImport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImageImport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCloudStorageUri()
public 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 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 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 TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the image import was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ImageImport getDefaultInstanceForType()
getDiskImageTargetDefaults()
public 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];
getDiskImageTargetDefaultsOrBuilder()
public 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];
getEncryption()
public 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 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];
getMachineImageTargetDefaults()
public 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];
getMachineImageTargetDefaultsOrBuilder()
public 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];
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 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.
|
getParserForType()
public Parser<ImageImport> getParserForType()
Overrides
getRecentImageImportJobs(int index)
public 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
|
getRecentImageImportJobsCount()
public 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 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];
getRecentImageImportJobsOrBuilder(int index)
public 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
|
getRecentImageImportJobsOrBuilderList()
public 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> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceCase()
public ImageImport.SourceCase getSourceCase()
getTargetDefaultsCase()
public ImageImport.TargetDefaultsCase getTargetDefaultsCase()
hasCloudStorageUri()
public 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 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 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 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 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImageImport.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImageImport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ImageImport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides