Class DiskBackupProperties.Builder (0.29.0)

public static final class DiskBackupProperties.Builder extends GeneratedMessageV3.Builder<DiskBackupProperties.Builder> implements DiskBackupPropertiesOrBuilder

DiskBackupProperties represents the properties of a Disk backup.

Protobuf type google.cloud.backupdr.v1.DiskBackupProperties

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllGuestOsFeature(Iterable<? extends GuestOsFeature> values)

public DiskBackupProperties.Builder addAllGuestOsFeature(Iterable<? extends GuestOsFeature> values)

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
values Iterable<? extends com.google.cloud.backupdr.v1.GuestOsFeature>
Returns
Type Description
DiskBackupProperties.Builder

addAllLicenses(Iterable<String> values)

public DiskBackupProperties.Builder addAllLicenses(Iterable<String> values)

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
values Iterable<String>

The licenses to add.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

addAllReplicaZones(Iterable<String> values)

public DiskBackupProperties.Builder addAllReplicaZones(Iterable<String> values)

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

repeated string replica_zones = 9;

Parameter
Name Description
values Iterable<String>

The replicaZones to add.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

addGuestOsFeature(GuestOsFeature value)

public DiskBackupProperties.Builder addGuestOsFeature(GuestOsFeature value)

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
value GuestOsFeature
Returns
Type Description
DiskBackupProperties.Builder

addGuestOsFeature(GuestOsFeature.Builder builderForValue)

public DiskBackupProperties.Builder addGuestOsFeature(GuestOsFeature.Builder builderForValue)

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
builderForValue GuestOsFeature.Builder
Returns
Type Description
DiskBackupProperties.Builder

addGuestOsFeature(int index, GuestOsFeature value)

public DiskBackupProperties.Builder addGuestOsFeature(int index, GuestOsFeature value)

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

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

Parameters
Name Description
index int
value GuestOsFeature
Returns
Type Description
DiskBackupProperties.Builder

addGuestOsFeature(int index, GuestOsFeature.Builder builderForValue)

public DiskBackupProperties.Builder addGuestOsFeature(int index, GuestOsFeature.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue GuestOsFeature.Builder
Returns
Type Description
DiskBackupProperties.Builder

addGuestOsFeatureBuilder()

public GuestOsFeature.Builder addGuestOsFeatureBuilder()

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
GuestOsFeature.Builder

addGuestOsFeatureBuilder(int index)

public GuestOsFeature.Builder addGuestOsFeatureBuilder(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.Builder

addLicenses(String value)

public DiskBackupProperties.Builder addLicenses(String value)

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
value String

The licenses to add.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

addLicensesBytes(ByteString value)

public DiskBackupProperties.Builder addLicensesBytes(ByteString value)

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
value ByteString

The bytes of the licenses to add.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiskBackupProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiskBackupProperties.Builder
Overrides

addReplicaZones(String value)

public DiskBackupProperties.Builder addReplicaZones(String value)

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

repeated string replica_zones = 9;

Parameter
Name Description
value String

The replicaZones to add.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

addReplicaZonesBytes(ByteString value)

public DiskBackupProperties.Builder addReplicaZonesBytes(ByteString value)

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

repeated string replica_zones = 9;

Parameter
Name Description
value ByteString

The bytes of the replicaZones to add.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

build()

public DiskBackupProperties build()
Returns
Type Description
DiskBackupProperties

buildPartial()

public DiskBackupProperties buildPartial()
Returns
Type Description
DiskBackupProperties

clear()

public DiskBackupProperties.Builder clear()
Returns
Type Description
DiskBackupProperties.Builder
Overrides

clearArchitecture()

public DiskBackupProperties.Builder clearArchitecture()

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.Builder

This builder for chaining.

clearDescription()

public DiskBackupProperties.Builder clearDescription()

A description of the source disk.

optional string description = 1;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DiskBackupProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiskBackupProperties.Builder
Overrides

clearGuestOsFeature()

public DiskBackupProperties.Builder clearGuestOsFeature()

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
DiskBackupProperties.Builder

clearLicenses()

public DiskBackupProperties.Builder clearLicenses()

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
DiskBackupProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DiskBackupProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiskBackupProperties.Builder
Overrides

clearRegion()

public DiskBackupProperties.Builder clearRegion()

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

optional string region = 7;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clearReplicaZones()

public DiskBackupProperties.Builder clearReplicaZones()

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

repeated string replica_zones = 9;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clearSizeGb()

public DiskBackupProperties.Builder clearSizeGb()

Size(in GB) of the source disk.

optional int64 size_gb = 6;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clearSourceDisk()

public DiskBackupProperties.Builder clearSourceDisk()

The source disk used to create this backup.

optional string source_disk = 10;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clearType()

public DiskBackupProperties.Builder clearType()

The URL of the type of the disk.

optional string type = 5;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clearZone()

public DiskBackupProperties.Builder clearZone()

The URL of the Zone where the source disk.

optional string zone = 8;

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

clone()

public DiskBackupProperties.Builder clone()
Returns
Type Description
DiskBackupProperties.Builder
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;

Returns
Type Description
DiskBackupProperties.Architecture

The architecture.

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()
Returns
Type Description
DiskBackupProperties

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Returns
Type Description
GuestOsFeature

getGuestOsFeatureBuilder(int index)

public GuestOsFeature.Builder getGuestOsFeatureBuilder(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.Builder

getGuestOsFeatureBuilderList()

public List<GuestOsFeature.Builder> getGuestOsFeatureBuilderList()

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<Builder>

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;

Returns
Type Description
List<GuestOsFeature>

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
Returns
Type Description
GuestOsFeatureOrBuilder

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;

Returns
Type Description
ProtocolStringList

A list containing the licenses.

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;

Returns
Type Description
ProtocolStringList

A list containing the replicaZones.

getSizeGb()

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

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

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

public 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskBackupProperties other)

public DiskBackupProperties.Builder mergeFrom(DiskBackupProperties other)
Parameter
Name Description
other DiskBackupProperties
Returns
Type Description
DiskBackupProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiskBackupProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskBackupProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiskBackupProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiskBackupProperties.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiskBackupProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiskBackupProperties.Builder
Overrides

removeGuestOsFeature(int index)

public DiskBackupProperties.Builder removeGuestOsFeature(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
DiskBackupProperties.Builder

setArchitecture(DiskBackupProperties.Architecture value)

public DiskBackupProperties.Builder setArchitecture(DiskBackupProperties.Architecture value)

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

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

Parameter
Name Description
value DiskBackupProperties.Architecture

The architecture to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setArchitectureValue(int value)

public DiskBackupProperties.Builder setArchitectureValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for architecture to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setDescription(String value)

public DiskBackupProperties.Builder setDescription(String value)

A description of the source disk.

optional string description = 1;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public DiskBackupProperties.Builder setDescriptionBytes(ByteString value)

A description of the source disk.

optional string description = 1;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiskBackupProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiskBackupProperties.Builder
Overrides

setGuestOsFeature(int index, GuestOsFeature value)

public DiskBackupProperties.Builder setGuestOsFeature(int index, GuestOsFeature value)

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

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

Parameters
Name Description
index int
value GuestOsFeature
Returns
Type Description
DiskBackupProperties.Builder

setGuestOsFeature(int index, GuestOsFeature.Builder builderForValue)

public DiskBackupProperties.Builder setGuestOsFeature(int index, GuestOsFeature.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue GuestOsFeature.Builder
Returns
Type Description
DiskBackupProperties.Builder

setLicenses(int index, String value)

public DiskBackupProperties.Builder setLicenses(int index, String value)

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The licenses to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setRegion(String value)

public DiskBackupProperties.Builder setRegion(String value)

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

optional string region = 7;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public DiskBackupProperties.Builder setRegionBytes(ByteString value)

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

optional string region = 7;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiskBackupProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiskBackupProperties.Builder
Overrides

setReplicaZones(int index, String value)

public DiskBackupProperties.Builder setReplicaZones(int index, String value)

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

repeated string replica_zones = 9;

Parameters
Name Description
index int

The index to set the value at.

value String

The replicaZones to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setSizeGb(long value)

public DiskBackupProperties.Builder setSizeGb(long value)

Size(in GB) of the source disk.

optional int64 size_gb = 6;

Parameter
Name Description
value long

The sizeGb to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setSourceDisk(String value)

public DiskBackupProperties.Builder setSourceDisk(String value)

The source disk used to create this backup.

optional string source_disk = 10;

Parameter
Name Description
value String

The sourceDisk to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setSourceDiskBytes(ByteString value)

public DiskBackupProperties.Builder setSourceDiskBytes(ByteString value)

The source disk used to create this backup.

optional string source_disk = 10;

Parameter
Name Description
value ByteString

The bytes for sourceDisk to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setType(String value)

public DiskBackupProperties.Builder setType(String value)

The URL of the type of the disk.

optional string type = 5;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public DiskBackupProperties.Builder setTypeBytes(ByteString value)

The URL of the type of the disk.

optional string type = 5;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiskBackupProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiskBackupProperties.Builder
Overrides

setZone(String value)

public DiskBackupProperties.Builder setZone(String value)

The URL of the Zone where the source disk.

optional string zone = 8;

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public DiskBackupProperties.Builder setZoneBytes(ByteString value)

The URL of the Zone where the source disk.

optional string zone = 8;

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
DiskBackupProperties.Builder

This builder for chaining.