Interface DiskBackupPropertiesOrBuilder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface DiskBackupPropertiesOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getArchitecture()
publicabstractDiskBackupProperties.ArchitecturegetArchitecture()The architecture of the source disk. Valid values are ARM64 or X86_64.
optional .google.cloud.backupdr.v1.DiskBackupProperties.Architecture architecture = 4;
| Returns | |
|---|---|
| Type | Description |
DiskBackupProperties.Architecture |
The architecture. |
getArchitectureValue()
publicabstractintgetArchitectureValue()The architecture of the source disk. Valid values are ARM64 or X86_64.
optional .google.cloud.backupdr.v1.DiskBackupProperties.Architecture architecture = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for architecture. |
getDescription()
publicabstractStringgetDescription()A description of the source disk.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicabstractByteStringgetDescriptionBytes()A description of the source disk.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getGuestOsFeature(int index)
publicabstractGuestOsFeaturegetGuestOsFeature(intindex)A list of guest OS features that are applicable to this backup.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GuestOsFeature |
|
getGuestOsFeatureCount()
publicabstractintgetGuestOsFeatureCount()A list of guest OS features that are applicable to this backup.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuestOsFeatureList()
publicabstractList<GuestOsFeature>getGuestOsFeatureList()A list of guest OS features that are applicable to this backup.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 3;
| Returns | |
|---|---|
| Type | Description |
List<GuestOsFeature> |
|
getGuestOsFeatureOrBuilder(int index)
publicabstractGuestOsFeatureOrBuildergetGuestOsFeatureOrBuilder(intindex)A list of guest OS features that are applicable to this backup.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GuestOsFeatureOrBuilder |
|
getGuestOsFeatureOrBuilderList()
publicabstractList<?extendsGuestOsFeatureOrBuilder>getGuestOsFeatureOrBuilderList()A list of guest OS features that are applicable to this backup.
repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.GuestOsFeatureOrBuilder> |
|
getLicenses(int index)
publicabstractStringgetLicenses(intindex)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)
publicabstractByteStringgetLicensesBytes(intindex)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()
publicabstractintgetLicensesCount()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()
publicabstractList<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. |
getRegion()
publicabstractStringgetRegion()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()
publicabstractByteStringgetRegionBytes()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)
publicabstractStringgetReplicaZones(intindex)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)
publicabstractByteStringgetReplicaZonesBytes(intindex)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()
publicabstractintgetReplicaZonesCount()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()
publicabstractList<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()
publicabstractlonggetSizeGb()Size(in GB) of the source disk.
optional int64 size_gb = 6;
| Returns | |
|---|---|
| Type | Description |
long |
The sizeGb. |
getSourceDisk()
publicabstractStringgetSourceDisk()The source disk used to create this backup.
optional string source_disk = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceDisk. |
getSourceDiskBytes()
publicabstractByteStringgetSourceDiskBytes()The source disk used to create this backup.
optional string source_disk = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceDisk. |
getType()
publicabstractStringgetType()The URL of the type of the disk.
optional string type = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
publicabstractByteStringgetTypeBytes()The URL of the type of the disk.
optional string type = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
getZone()
publicabstractStringgetZone()The URL of the Zone where the source disk.
optional string zone = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
publicabstractByteStringgetZoneBytes()The URL of the Zone where the source disk.
optional string zone = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasArchitecture()
publicabstractbooleanhasArchitecture()The architecture of the source disk. Valid values are ARM64 or X86_64.
optional .google.cloud.backupdr.v1.DiskBackupProperties.Architecture architecture = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the architecture field is set. |
hasDescription()
publicabstractbooleanhasDescription()A description of the source disk.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasRegion()
publicabstractbooleanhasRegion()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()
publicabstractbooleanhasSizeGb()Size(in GB) of the source disk.
optional int64 size_gb = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sizeGb field is set. |
hasSourceDisk()
publicabstractbooleanhasSourceDisk()The source disk used to create this backup.
optional string source_disk = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceDisk field is set. |
hasType()
publicabstractbooleanhasType()The URL of the type of the disk.
optional string type = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
hasZone()
publicabstractbooleanhasZone()The URL of the Zone where the source disk.
optional string zone = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the zone field is set. |