public static final class DisksStartAsyncReplicationRequest.Builder extends GeneratedMessage.Builder<DisksStartAsyncReplicationRequest.Builder> implements DisksStartAsyncReplicationRequestOrBuilder Protobuf type google.cloud.compute.v1.DisksStartAsyncReplicationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DisksStartAsyncReplicationRequest.BuilderImplements
DisksStartAsyncReplicationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DisksStartAsyncReplicationRequest build()| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest |
|
buildPartial()
public DisksStartAsyncReplicationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest |
|
clear()
public DisksStartAsyncReplicationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest.Builder |
|
clearAsyncSecondaryDisk()
public DisksStartAsyncReplicationRequest.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 |
DisksStartAsyncReplicationRequest.Builder |
This builder for chaining. |
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 DisksStartAsyncReplicationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DisksStartAsyncReplicationRequest other)
public DisksStartAsyncReplicationRequest.Builder mergeFrom(DisksStartAsyncReplicationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DisksStartAsyncReplicationRequest |
| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisksStartAsyncReplicationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DisksStartAsyncReplicationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest.Builder |
|
setAsyncSecondaryDisk(String value)
public DisksStartAsyncReplicationRequest.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 |
StringThe asyncSecondaryDisk to set. |
| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest.Builder |
This builder for chaining. |
setAsyncSecondaryDiskBytes(ByteString value)
public DisksStartAsyncReplicationRequest.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 |
ByteStringThe bytes for asyncSecondaryDisk to set. |
| Returns | |
|---|---|
| Type | Description |
DisksStartAsyncReplicationRequest.Builder |
This builder for chaining. |