public final class DiskBackupProperties extends GeneratedMessageV3 implements DiskBackupPropertiesOrBuilder
DiskBackupProperties represents the properties of a Disk backup.
Protobuf type google.cloud.backupdr.v1.DiskBackupProperties
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
ARCHITECTURE_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GUEST_OS_FEATURE_FIELD_NUMBER
public static final int GUEST_OS_FEATURE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LICENSES_FIELD_NUMBER
public static final int LICENSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLICA_ZONES_FIELD_NUMBER
public static final int REPLICA_ZONES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SIZE_GB_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_DISK_FIELD_NUMBER
public static final int SOURCE_DISK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiskBackupProperties getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskBackupProperties.Builder newBuilder()
newBuilder(DiskBackupProperties prototype)
public static DiskBackupProperties.Builder newBuilder(DiskBackupProperties prototype)
public static DiskBackupProperties parseDelimitedFrom(InputStream input)
public static DiskBackupProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskBackupProperties parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskBackupProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskBackupProperties parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskBackupProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskBackupProperties parseFrom(CodedInputStream input)
public static DiskBackupProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskBackupProperties parseFrom(InputStream input)
public static DiskBackupProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskBackupProperties parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskBackupProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskBackupProperties> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getArchitecture()
public 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;
getArchitectureValue()
public 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.
|
getDefaultInstanceForType()
public DiskBackupProperties getDefaultInstanceForType()
getDescription()
public String getDescription()
A description of the source disk.
optional string description = 1;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description of the source disk.
optional string description = 1;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getGuestOsFeature(int index)
public 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
|
getGuestOsFeatureCount()
public 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 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;
getGuestOsFeatureOrBuilder(int index)
public 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
|
getGuestOsFeatureOrBuilderList()
public 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 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 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 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 ProtocolStringList 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;
getParserForType()
public Parser<DiskBackupProperties> getParserForType()
Overrides
getRegion()
public 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 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 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 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 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 ProtocolStringList getReplicaZonesList()
The URL of the Zones where the source disk should be replicated.
repeated string replica_zones = 9;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSizeGb()
Size(in GB) of the source disk.
optional int64 size_gb = 6;
Returns |
Type |
Description |
long |
The sizeGb.
|
getSourceDisk()
public String getSourceDisk()
The source disk used to create this backup.
optional string source_disk = 10;
Returns |
Type |
Description |
String |
The sourceDisk.
|
getSourceDiskBytes()
public ByteString getSourceDiskBytes()
The source disk used to create this backup.
optional string source_disk = 10;
Returns |
Type |
Description |
ByteString |
The bytes for sourceDisk.
|
getType()
The URL of the type of the disk.
optional string type = 5;
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
The URL of the type of the disk.
optional string type = 5;
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
getZone()
The URL of the Zone where the source disk.
optional string zone = 8;
Returns |
Type |
Description |
String |
The zone.
|
getZoneBytes()
public 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 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 boolean hasDescription()
A description of the source disk.
optional string description = 1;
Returns |
Type |
Description |
boolean |
Whether the description field is set.
|
hasRegion()
public 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 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 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()
The URL of the type of the disk.
optional string type = 5;
Returns |
Type |
Description |
boolean |
Whether the type field is set.
|
hasZone()
The URL of the Zone where the source disk.
optional string zone = 8;
Returns |
Type |
Description |
boolean |
Whether the zone field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskBackupProperties.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskBackupProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiskBackupProperties.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides