public interface DiskRestorePropertiesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Optional. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsResourceManagerTags(String key)
public abstract boolean containsResourceManagerTags(String key)Optional. Resource manager tags to be bound to the disk.
map<string, string> resource_manager_tags = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAccessMode()
public abstract DiskRestoreProperties.AccessMode getAccessMode()Optional. The access mode of the disk.
optional .google.cloud.backupdr.v1.DiskRestoreProperties.AccessMode access_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskRestoreProperties.AccessMode |
The accessMode. |
getAccessModeValue()
public abstract int getAccessModeValue()Optional. The access mode of the disk.
optional .google.cloud.backupdr.v1.DiskRestoreProperties.AccessMode access_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for accessMode. |
getArchitecture()
public abstract DiskRestoreProperties.Architecture getArchitecture()Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.
optional .google.cloud.backupdr.v1.DiskRestoreProperties.Architecture architecture = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DiskRestoreProperties.Architecture |
The architecture. |
getArchitectureValue()
public abstract int getArchitectureValue()Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.
optional .google.cloud.backupdr.v1.DiskRestoreProperties.Architecture architecture = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for architecture. |
getDescription()
public abstract String getDescription()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDiskEncryptionKey()
public abstract CustomerEncryptionKey getDiskEncryptionKey()Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey disk_encryption_key = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKey |
The diskEncryptionKey. |
getDiskEncryptionKeyOrBuilder()
public abstract CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey disk_encryption_key = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKeyOrBuilder |
|
getEnableConfidentialCompute()
public abstract boolean getEnableConfidentialCompute()Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.
optional bool enable_confidential_compute = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableConfidentialCompute. |
getGuestOsFeature(int index)
public abstract GuestOsFeature getGuestOsFeature(int index)Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GuestOsFeature |
|
getGuestOsFeatureCount()
public abstract int getGuestOsFeatureCount()Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuestOsFeatureList()
public abstract List<GuestOsFeature> getGuestOsFeatureList()Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<GuestOsFeature> |
|
getGuestOsFeatureOrBuilder(int index)
public abstract GuestOsFeatureOrBuilder getGuestOsFeatureOrBuilder(int index)Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GuestOsFeatureOrBuilder |
|
getGuestOsFeatureOrBuilderList()
public abstract List<? extends GuestOsFeatureOrBuilder> getGuestOsFeatureOrBuilderList()Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.GuestOsFeatureOrBuilder> |
|
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract int getLabelsCount()Optional. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Optional. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.
map<string, string> labels = 17 [(.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. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.
map<string, string> labels = 17 [(.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. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLicenses(int index)
public abstract String getLicenses(int index)Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
repeated string licenses = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The licenses at the given index. |
getLicensesBytes(int index)
public abstract ByteString getLicensesBytes(int index)Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
repeated string licenses = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the licenses at the given index. |
getLicensesCount()
public abstract int getLicensesCount()Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
repeated string licenses = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of licenses. |
getLicensesList()
public abstract List<String> getLicensesList()Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
repeated string licenses = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the licenses. |
getName()
public abstract String getName()Required. Name of the disk.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. Name of the disk.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPhysicalBlockSizeBytes()
public abstract long getPhysicalBlockSizeBytes()Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.
optional int64 physical_block_size_bytes = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The physicalBlockSizeBytes. |
getProvisionedIops()
public abstract long getProvisionedIops()Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
optional int64 provisioned_iops = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The provisionedIops. |
getProvisionedThroughput()
public abstract long getProvisionedThroughput()Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.
optional int64 provisioned_throughput = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The provisionedThroughput. |
getResourceManagerTags() (deprecated)
public abstract Map<String,String> getResourceManagerTags()Use #getResourceManagerTagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getResourceManagerTagsCount()
public abstract int getResourceManagerTagsCount()Optional. Resource manager tags to be bound to the disk.
map<string, string> resource_manager_tags = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourceManagerTagsMap()
public abstract Map<String,String> getResourceManagerTagsMap()Optional. Resource manager tags to be bound to the disk.
map<string, string> resource_manager_tags = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getResourceManagerTagsOrDefault(String key, String defaultValue)
public abstract String getResourceManagerTagsOrDefault(String key, String defaultValue)Optional. Resource manager tags to be bound to the disk.
map<string, string> resource_manager_tags = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getResourceManagerTagsOrThrow(String key)
public abstract String getResourceManagerTagsOrThrow(String key)Optional. Resource manager tags to be bound to the disk.
map<string, string> resource_manager_tags = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getResourcePolicy(int index)
public abstract String getResourcePolicy(int index)Optional. Resource policies applied to this disk.
repeated string resource_policy = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The resourcePolicy at the given index. |
getResourcePolicyBytes(int index)
public abstract ByteString getResourcePolicyBytes(int index)Optional. Resource policies applied to this disk.
repeated string resource_policy = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the resourcePolicy at the given index. |
getResourcePolicyCount()
public abstract int getResourcePolicyCount()Optional. Resource policies applied to this disk.
repeated string resource_policy = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of resourcePolicy. |
getResourcePolicyList()
public abstract List<String> getResourcePolicyList()Optional. Resource policies applied to this disk.
repeated string resource_policy = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the resourcePolicy. |
getSizeGb()
public abstract long getSizeGb()Required. The size of the disk in GB.
optional int64 size_gb = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The sizeGb. |
getStoragePool()
public abstract String getStoragePool()Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
optional string storage_pool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The storagePool. |
getStoragePoolBytes()
public abstract ByteString getStoragePoolBytes()Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
optional string storage_pool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for storagePool. |
getType()
public abstract String getType()Required. URL of the disk type resource describing which disk type to use to create the disk.
optional string type = 16 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()Required. URL of the disk type resource describing which disk type to use to create the disk.
optional string type = 16 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
hasAccessMode()
public abstract boolean hasAccessMode()Optional. The access mode of the disk.
optional .google.cloud.backupdr.v1.DiskRestoreProperties.AccessMode access_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the accessMode field is set. |
hasArchitecture()
public abstract boolean hasArchitecture()Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.
optional .google.cloud.backupdr.v1.DiskRestoreProperties.Architecture architecture = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the architecture field is set. |
hasDescription()
public abstract boolean hasDescription()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasDiskEncryptionKey()
public abstract boolean hasDiskEncryptionKey()Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey disk_encryption_key = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the diskEncryptionKey field is set. |
hasEnableConfidentialCompute()
public abstract boolean hasEnableConfidentialCompute()Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.
optional bool enable_confidential_compute = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableConfidentialCompute field is set. |
hasName()
public abstract boolean hasName()Required. Name of the disk.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasPhysicalBlockSizeBytes()
public abstract boolean hasPhysicalBlockSizeBytes()Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.
optional int64 physical_block_size_bytes = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the physicalBlockSizeBytes field is set. |
hasProvisionedIops()
public abstract boolean hasProvisionedIops()Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
optional int64 provisioned_iops = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the provisionedIops field is set. |
hasProvisionedThroughput()
public abstract boolean hasProvisionedThroughput()Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.
optional int64 provisioned_throughput = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the provisionedThroughput field is set. |
hasSizeGb()
public abstract boolean hasSizeGb()Required. The size of the disk in GB.
optional int64 size_gb = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sizeGb field is set. |
hasStoragePool()
public abstract boolean hasStoragePool()Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
optional string storage_pool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the storagePool field is set. |
hasType()
public abstract boolean hasType()Required. URL of the disk type resource describing which disk type to use to create the disk.
optional string type = 16 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |