Class RegionDisksStartAsyncReplicationRequest.Builder (1.56.0)

public static final class RegionDisksStartAsyncReplicationRequest.Builder extends GeneratedMessageV3.Builder<RegionDisksStartAsyncReplicationRequest.Builder> implements RegionDisksStartAsyncReplicationRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionDisksStartAsyncReplicationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionDisksStartAsyncReplicationRequest build()
Returns
Type Description
RegionDisksStartAsyncReplicationRequest

buildPartial()

public RegionDisksStartAsyncReplicationRequest buildPartial()
Returns
Type Description
RegionDisksStartAsyncReplicationRequest

clear()

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

clearAsyncSecondaryDisk()

public RegionDisksStartAsyncReplicationRequest.Builder clearAsyncSecondaryDisk()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
Type Description
RegionDisksStartAsyncReplicationRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RegionDisksStartAsyncReplicationRequest.Builder clone()
Returns
Type Description
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

getAsyncSecondaryDisk()

public String getAsyncSecondaryDisk()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
Type Description
String

The asyncSecondaryDisk.

getAsyncSecondaryDiskBytes()

public ByteString getAsyncSecondaryDiskBytes()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
Type Description
ByteString

The bytes for asyncSecondaryDisk.

getDefaultInstanceForType()

public RegionDisksStartAsyncReplicationRequest getDefaultInstanceForType()
Returns
Type Description
RegionDisksStartAsyncReplicationRequest

getDescriptorForType()

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

hasAsyncSecondaryDisk()

public boolean hasAsyncSecondaryDisk()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
Type Description
boolean

Whether the asyncSecondaryDisk field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionDisksStartAsyncReplicationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAsyncSecondaryDisk(String value)

public RegionDisksStartAsyncReplicationRequest.Builder setAsyncSecondaryDisk(String value)

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Parameter
Name Description
value String

The asyncSecondaryDisk to set.

Returns
Type Description
RegionDisksStartAsyncReplicationRequest.Builder

This builder for chaining.

setAsyncSecondaryDiskBytes(ByteString value)

public RegionDisksStartAsyncReplicationRequest.Builder setAsyncSecondaryDiskBytes(ByteString value)

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Parameter
Name Description
value ByteString

The bytes for asyncSecondaryDisk to set.

Returns
Type Description
RegionDisksStartAsyncReplicationRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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