public final class DiskImageTargetDetails extends GeneratedMessageV3 implements DiskImageTargetDetailsOrBuilder
The target details of the image resource that will be created by the import
job.
Protobuf type google.cloud.vmmigration.v1.DiskImageTargetDetails
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
ADDITIONAL_LICENSES_FIELD_NUMBER
public static final int ADDITIONAL_LICENSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATA_DISK_IMAGE_IMPORT_FIELD_NUMBER
public static final int DATA_DISK_IMAGE_IMPORT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENCRYPTION_FIELD_NUMBER
public static final int ENCRYPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FAMILY_NAME_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IMAGE_NAME_FIELD_NUMBER
public static final int IMAGE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OS_ADAPTATION_PARAMETERS_FIELD_NUMBER
public static final int OS_ADAPTATION_PARAMETERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SINGLE_REGION_STORAGE_FIELD_NUMBER
public static final int SINGLE_REGION_STORAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_PROJECT_FIELD_NUMBER
public static final int TARGET_PROJECT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiskImageTargetDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskImageTargetDetails.Builder newBuilder()
newBuilder(DiskImageTargetDetails prototype)
public static DiskImageTargetDetails.Builder newBuilder(DiskImageTargetDetails prototype)
public static DiskImageTargetDetails parseDelimitedFrom(InputStream input)
public static DiskImageTargetDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskImageTargetDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskImageTargetDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskImageTargetDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskImageTargetDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskImageTargetDetails parseFrom(CodedInputStream input)
public static DiskImageTargetDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskImageTargetDetails parseFrom(InputStream input)
public static DiskImageTargetDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskImageTargetDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskImageTargetDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskImageTargetDetails> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdditionalLicenses(int index)
public String getAdditionalLicenses(int index)
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 ByteString getAdditionalLicensesBytes(int index)
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 int getAdditionalLicensesCount()
Returns |
Type |
Description |
int |
The count of additionalLicenses.
|
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()
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];
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];
getDefaultInstanceForType()
public DiskImageTargetDetails getDefaultInstanceForType()
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.
|
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.
|
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()
Immutable. The encryption to apply to the image.
.google.cloud.vmmigration.v1.Encryption encryption = 10 [(.google.api.field_behavior) = IMMUTABLE];
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()
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];
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];
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 |
|
getOsAdaptationConfigCase()
public DiskImageTargetDetails.OsAdaptationConfigCase getOsAdaptationConfigCase()
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];
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];
getParserForType()
public Parser<DiskImageTargetDetails> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskImageTargetDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskImageTargetDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiskImageTargetDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides