Class DiskBackupProperties (0.39.0)

publicfinalclass DiskBackupPropertiesextendsGeneratedMessageV3implementsDiskBackupPropertiesOrBuilder

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

publicstaticfinalintARCHITECTURE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

publicstaticfinalintDESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

GUEST_OS_FEATURE_FIELD_NUMBER

publicstaticfinalintGUEST_OS_FEATURE_FIELD_NUMBER
Field Value
Type Description
int

LICENSES_FIELD_NUMBER

publicstaticfinalintLICENSES_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

publicstaticfinalintREGION_FIELD_NUMBER
Field Value
Type Description
int

REPLICA_ZONES_FIELD_NUMBER

publicstaticfinalintREPLICA_ZONES_FIELD_NUMBER
Field Value
Type Description
int

SIZE_GB_FIELD_NUMBER

publicstaticfinalintSIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_DISK_FIELD_NUMBER

publicstaticfinalintSOURCE_DISK_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

publicstaticfinalintTYPE_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

publicstaticfinalintZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDiskBackupPropertiesgetDefaultInstance()
Returns
Type Description
DiskBackupProperties

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDiskBackupProperties.BuildernewBuilder()
Returns
Type Description
DiskBackupProperties.Builder

newBuilder(DiskBackupProperties prototype)

publicstaticDiskBackupProperties.BuildernewBuilder(DiskBackupPropertiesprototype)
Parameter
Name Description
prototype DiskBackupProperties
Returns
Type Description
DiskBackupProperties.Builder

parseDelimitedFrom(InputStream input)

publicstaticDiskBackupPropertiesparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDiskBackupPropertiesparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDiskBackupPropertiesparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDiskBackupPropertiesparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDiskBackupPropertiesparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDiskBackupPropertiesparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDiskBackupPropertiesparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDiskBackupPropertiesparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDiskBackupPropertiesparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDiskBackupPropertiesparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDiskBackupPropertiesparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDiskBackupPropertiesparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<DiskBackupProperties>parser()
Returns
Type Description
Parser<DiskBackupProperties>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArchitecture()

publicDiskBackupProperties.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()

publicintgetArchitectureValue()

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

publicDiskBackupPropertiesgetDefaultInstanceForType()
Returns
Type Description
DiskBackupProperties

getDescription()

publicStringgetDescription()

A description of the source disk.

optional string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

A description of the source disk.

optional string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getGuestOsFeature(int index)

publicGuestOsFeaturegetGuestOsFeature(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()

publicintgetGuestOsFeatureCount()

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

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

publicGuestOsFeatureOrBuildergetGuestOsFeatureOrBuilder(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()

publicList<?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)

publicStringgetLicenses(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)

publicByteStringgetLicensesBytes(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()

publicintgetLicensesCount()

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

publicProtocolStringListgetLicensesList()

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
ProtocolStringList

A list containing the licenses.

getParserForType()

publicParser<DiskBackupProperties>getParserForType()
Returns
Type Description
Parser<DiskBackupProperties>
Overrides

getRegion()

publicStringgetRegion()

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

publicByteStringgetRegionBytes()

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)

publicStringgetReplicaZones(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)

publicByteStringgetReplicaZonesBytes(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()

publicintgetReplicaZonesCount()

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

publicProtocolStringListgetReplicaZonesList()

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

repeated string replica_zones = 9;

Returns
Type Description
ProtocolStringList

A list containing the replicaZones.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSizeGb()

publiclonggetSizeGb()

Size(in GB) of the source disk.

optional int64 size_gb = 6;

Returns
Type Description
long

The sizeGb.

getSourceDisk()

publicStringgetSourceDisk()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
String

The sourceDisk.

getSourceDiskBytes()

publicByteStringgetSourceDiskBytes()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
ByteString

The bytes for sourceDisk.

getType()

publicStringgetType()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
String

The type.

getTypeBytes()

publicByteStringgetTypeBytes()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
ByteString

The bytes for type.

getZone()

publicStringgetZone()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
String

The zone.

getZoneBytes()

publicByteStringgetZoneBytes()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
ByteString

The bytes for zone.

hasArchitecture()

publicbooleanhasArchitecture()

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

publicbooleanhasDescription()

A description of the source disk.

optional string description = 1;

Returns
Type Description
boolean

Whether the description field is set.

hasRegion()

publicbooleanhasRegion()

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

publicbooleanhasSizeGb()

Size(in GB) of the source disk.

optional int64 size_gb = 6;

Returns
Type Description
boolean

Whether the sizeGb field is set.

hasSourceDisk()

publicbooleanhasSourceDisk()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
boolean

Whether the sourceDisk field is set.

hasType()

publicbooleanhasType()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
boolean

Whether the type field is set.

hasZone()

publicbooleanhasZone()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
boolean

Whether the zone field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDiskBackupProperties.BuildernewBuilderForType()
Returns
Type Description
DiskBackupProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDiskBackupProperties.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiskBackupProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDiskBackupProperties.BuildertoBuilder()
Returns
Type Description
DiskBackupProperties.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.