Interface DiskBackupPropertiesOrBuilder (0.58.0)

public interface DiskBackupPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

The labels of the source disk.

map<string, string> labels = 17;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAccessMode()

public abstract String getAccessMode()

The access mode of the source disk.

optional string access_mode = 11;

Returns
Type Description
String

The accessMode.

getAccessModeBytes()

public abstract ByteString getAccessModeBytes()

The access mode of the source disk.

optional string access_mode = 11;

Returns
Type Description
ByteString

The bytes for accessMode.

getArchitecture()

public abstract DiskBackupProperties.Architecture getArchitecture()

The architecture of the source disk. Valid values are ARM64 or X86_64.

optional .google.cloud.backupdr.v1beta.DiskBackupProperties.Architecture architecture = 4;

Returns
Type Description
DiskBackupProperties.Architecture

The architecture.

getArchitectureValue()

public abstract int getArchitectureValue()

The architecture of the source disk. Valid values are ARM64 or X86_64.

optional .google.cloud.backupdr.v1beta.DiskBackupProperties.Architecture architecture = 4;

Returns
Type Description
int

The enum numeric value on the wire for architecture.

getDescription()

public abstract String getDescription()

A description of the source disk.

optional string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of the source disk.

optional string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getEnableConfidentialCompute()

public abstract boolean getEnableConfidentialCompute()

Indicates whether the source disk is using confidential compute mode.

optional bool enable_confidential_compute = 15;

Returns
Type Description
boolean

The enableConfidentialCompute.

getGuestFlush()

public abstract boolean getGuestFlush()

Optional. Defines if the guest flush is enabled for the source disk. Default value is false.

bool guest_flush = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The guestFlush.

getGuestOsFeature(int index)

public abstract GuestOsFeature getGuestOsFeature(int index)

A list of guest OS features that are applicable to this backup.

repeated .google.cloud.backupdr.v1beta.GuestOsFeature guest_os_feature = 3;

Parameter
Name Description
index int
Returns
Type Description
GuestOsFeature

getGuestOsFeatureCount()

public abstract int getGuestOsFeatureCount()

A list of guest OS features that are applicable to this backup.

repeated .google.cloud.backupdr.v1beta.GuestOsFeature guest_os_feature = 3;

Returns
Type Description
int

getGuestOsFeatureList()

public abstract List<GuestOsFeature> getGuestOsFeatureList()

A list of guest OS features that are applicable to this backup.

repeated .google.cloud.backupdr.v1beta.GuestOsFeature guest_os_feature = 3;

Returns
Type Description
List<GuestOsFeature>

getGuestOsFeatureOrBuilder(int index)

public abstract GuestOsFeatureOrBuilder getGuestOsFeatureOrBuilder(int index)

A list of guest OS features that are applicable to this backup.

repeated .google.cloud.backupdr.v1beta.GuestOsFeature guest_os_feature = 3;

Parameter
Name Description
index int
Returns
Type Description
GuestOsFeatureOrBuilder

getGuestOsFeatureOrBuilderList()

public abstract List<? extends GuestOsFeatureOrBuilder> getGuestOsFeatureOrBuilderList()

A list of guest OS features that are applicable to this backup.

repeated .google.cloud.backupdr.v1beta.GuestOsFeature guest_os_feature = 3;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1beta.GuestOsFeatureOrBuilder>

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

The labels of the source disk.

map<string, string> labels = 17;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

The labels of the source disk.

map<string, string> labels = 17;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

The labels of the source disk.

map<string, string> labels = 17;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

The labels of the source disk.

map<string, string> labels = 17;

Parameter
Name Description
key String
Returns
Type Description
String

getLicenses(int index)

public abstract String getLicenses(int index)

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 = 2;

Parameter
Name Description
index int

The 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)

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 = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the licenses at the given index.

getLicensesCount()

public abstract int getLicensesCount()

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 = 2;

Returns
Type Description
int

The count of licenses.

getLicensesList()

public abstract List<String> getLicensesList()

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 = 2;

Returns
Type Description
List<String>

A list containing the licenses.

getPhysicalBlockSizeBytes()

public abstract long getPhysicalBlockSizeBytes()

The physical block size of the source disk.

optional int64 physical_block_size_bytes = 14;

Returns
Type Description
long

The physicalBlockSizeBytes.

getProvisionedIops()

public abstract long getProvisionedIops()

The number of IOPS provisioned for the source disk.

optional int64 provisioned_iops = 12;

Returns
Type Description
long

The provisionedIops.

getProvisionedThroughput()

public abstract long getProvisionedThroughput()

The number of throughput provisioned for the source disk.

optional int64 provisioned_throughput = 13;

Returns
Type Description
long

The provisionedThroughput.

getRegion()

public abstract String getRegion()

Region and zone are mutually exclusive fields. The URL of the region of the source disk.

optional string region = 7;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Region and zone are mutually exclusive fields. The URL of the region of the source disk.

optional string region = 7;

Returns
Type Description
ByteString

The bytes for region.

getReplicaZones(int index)

public abstract String getReplicaZones(int index)

The URL of the Zones where the source disk should be replicated.

repeated string replica_zones = 9;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The replicaZones at the given index.

getReplicaZonesBytes(int index)

public abstract ByteString getReplicaZonesBytes(int index)

The URL of the Zones where the source disk should be replicated.

repeated string replica_zones = 9;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the replicaZones at the given index.

getReplicaZonesCount()

public abstract int getReplicaZonesCount()

The URL of the Zones where the source disk should be replicated.

repeated string replica_zones = 9;

Returns
Type Description
int

The count of replicaZones.

getReplicaZonesList()

public abstract List<String> getReplicaZonesList()

The URL of the Zones where the source disk should be replicated.

repeated string replica_zones = 9;

Returns
Type Description
List<String>

A list containing the replicaZones.

getSizeGb()

public abstract long getSizeGb()

Size(in GB) of the source disk.

optional int64 size_gb = 6;

Returns
Type Description
long

The sizeGb.

getSourceDisk()

public abstract String getSourceDisk()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
String

The sourceDisk.

getSourceDiskBytes()

public abstract ByteString getSourceDiskBytes()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
ByteString

The bytes for sourceDisk.

getStoragePool()

public abstract String getStoragePool()

The storage pool of the source disk.

optional string storage_pool = 16;

Returns
Type Description
String

The storagePool.

getStoragePoolBytes()

public abstract ByteString getStoragePoolBytes()

The storage pool of the source disk.

optional string storage_pool = 16;

Returns
Type Description
ByteString

The bytes for storagePool.

getType()

public abstract String getType()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
ByteString

The bytes for type.

getZone()

public abstract String getZone()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
ByteString

The bytes for zone.

hasAccessMode()

public abstract boolean hasAccessMode()

The access mode of the source disk.

optional string access_mode = 11;

Returns
Type Description
boolean

Whether the accessMode field is set.

hasArchitecture()

public abstract boolean hasArchitecture()

The architecture of the source disk. Valid values are ARM64 or X86_64.

optional .google.cloud.backupdr.v1beta.DiskBackupProperties.Architecture architecture = 4;

Returns
Type Description
boolean

Whether the architecture field is set.

hasDescription()

public abstract boolean hasDescription()

A description of the source disk.

optional string description = 1;

Returns
Type Description
boolean

Whether the description field is set.

hasEnableConfidentialCompute()

public abstract boolean hasEnableConfidentialCompute()

Indicates whether the source disk is using confidential compute mode.

optional bool enable_confidential_compute = 15;

Returns
Type Description
boolean

Whether the enableConfidentialCompute field is set.

hasPhysicalBlockSizeBytes()

public abstract boolean hasPhysicalBlockSizeBytes()

The physical block size of the source disk.

optional int64 physical_block_size_bytes = 14;

Returns
Type Description
boolean

Whether the physicalBlockSizeBytes field is set.

hasProvisionedIops()

public abstract boolean hasProvisionedIops()

The number of IOPS provisioned for the source disk.

optional int64 provisioned_iops = 12;

Returns
Type Description
boolean

Whether the provisionedIops field is set.

hasProvisionedThroughput()

public abstract boolean hasProvisionedThroughput()

The number of throughput provisioned for the source disk.

optional int64 provisioned_throughput = 13;

Returns
Type Description
boolean

Whether the provisionedThroughput field is set.

hasRegion()

public abstract boolean hasRegion()

Region and zone are mutually exclusive fields. The URL of the region of the source disk.

optional string region = 7;

Returns
Type Description
boolean

Whether the region field is set.

hasSizeGb()

public abstract boolean hasSizeGb()

Size(in GB) of the source disk.

optional int64 size_gb = 6;

Returns
Type Description
boolean

Whether the sizeGb field is set.

hasSourceDisk()

public abstract boolean hasSourceDisk()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
boolean

Whether the sourceDisk field is set.

hasStoragePool()

public abstract boolean hasStoragePool()

The storage pool of the source disk.

optional string storage_pool = 16;

Returns
Type Description
boolean

Whether the storagePool field is set.

hasType()

public abstract boolean hasType()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
boolean

Whether the type field is set.

hasZone()

public abstract boolean hasZone()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
boolean

Whether the zone field is set.