public interface DiskBackupPropertiesOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getArchitecture()
public abstract DiskBackupProperties.Architecture getArchitecture()
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()
public abstract int getArchitectureValue()
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()
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. |
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.v1.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.v1.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.v1.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.v1.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.v1.GuestOsFeature guest_os_feature = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.backupdr.v1.GuestOsFeatureOrBuilder> |
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. |
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. |
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. |
hasArchitecture()
public abstract boolean hasArchitecture()
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()
public abstract boolean hasDescription()
A description of the source disk.
optional string description = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the description 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. |
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. |