Class RegionDisksStartAsyncReplicationRequest.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegionDisksStartAsyncReplicationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

build()

public RegionDisksStartAsyncReplicationRequest build()
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest

buildPartial()

public RegionDisksStartAsyncReplicationRequest buildPartial()
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest

clear()

public RegionDisksStartAsyncReplicationRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RegionDisksStartAsyncReplicationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RegionDisksStartAsyncReplicationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

clone()

public RegionDisksStartAsyncReplicationRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for asyncSecondaryDisk.

getDefaultInstanceForType()

public RegionDisksStartAsyncReplicationRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the asyncSecondaryDisk field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegionDisksStartAsyncReplicationRequest other)

public RegionDisksStartAsyncReplicationRequest.Builder mergeFrom(RegionDisksStartAsyncReplicationRequest other)
Parameter
NameDescription
otherRegionDisksStartAsyncReplicationRequest
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegionDisksStartAsyncReplicationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RegionDisksStartAsyncReplicationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionDisksStartAsyncReplicationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The asyncSecondaryDisk to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for asyncSecondaryDisk to set.

Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RegionDisksStartAsyncReplicationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

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

public RegionDisksStartAsyncReplicationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RegionDisksStartAsyncReplicationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder
Overrides