- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class DiskAsyncReplication.Builder extends GeneratedMessageV3.Builder<DiskAsyncReplication.Builder> implements DiskAsyncReplicationOrBuilder
Protobuf type google.cloud.compute.v1.DiskAsyncReplication
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiskAsyncReplication.BuilderImplements
DiskAsyncReplicationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiskAsyncReplication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
build()
public DiskAsyncReplication build()
Returns | |
---|---|
Type | Description |
DiskAsyncReplication |
buildPartial()
public DiskAsyncReplication buildPartial()
Returns | |
---|---|
Type | Description |
DiskAsyncReplication |
clear()
public DiskAsyncReplication.Builder clear()
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
clearConsistencyGroupPolicy()
public DiskAsyncReplication.Builder clearConsistencyGroupPolicy()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy = 1991097;
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
clearConsistencyGroupPolicyId()
public DiskAsyncReplication.Builder clearConsistencyGroupPolicyId()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy_id = 261065057;
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
clearDisk()
public DiskAsyncReplication.Builder clearDisk()
The other disk asynchronously replicated to or from the current disk. 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 - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string disk = 3083677;
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
clearDiskId()
public DiskAsyncReplication.Builder clearDiskId()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
optional string disk_id = 60990205;
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DiskAsyncReplication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskAsyncReplication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
clone()
public DiskAsyncReplication.Builder clone()
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
getConsistencyGroupPolicy()
public String getConsistencyGroupPolicy()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy = 1991097;
Returns | |
---|---|
Type | Description |
String |
The consistencyGroupPolicy. |
getConsistencyGroupPolicyBytes()
public ByteString getConsistencyGroupPolicyBytes()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy = 1991097;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for consistencyGroupPolicy. |
getConsistencyGroupPolicyId()
public String getConsistencyGroupPolicyId()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy_id = 261065057;
Returns | |
---|---|
Type | Description |
String |
The consistencyGroupPolicyId. |
getConsistencyGroupPolicyIdBytes()
public ByteString getConsistencyGroupPolicyIdBytes()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy_id = 261065057;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for consistencyGroupPolicyId. |
getDefaultInstanceForType()
public DiskAsyncReplication getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiskAsyncReplication |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisk()
public String getDisk()
The other disk asynchronously replicated to or from the current disk. 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 - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string disk = 3083677;
Returns | |
---|---|
Type | Description |
String |
The disk. |
getDiskBytes()
public ByteString getDiskBytes()
The other disk asynchronously replicated to or from the current disk. 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 - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string disk = 3083677;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for disk. |
getDiskId()
public String getDiskId()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
optional string disk_id = 60990205;
Returns | |
---|---|
Type | Description |
String |
The diskId. |
getDiskIdBytes()
public ByteString getDiskIdBytes()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
optional string disk_id = 60990205;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for diskId. |
hasConsistencyGroupPolicy()
public boolean hasConsistencyGroupPolicy()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy = 1991097;
Returns | |
---|---|
Type | Description |
boolean |
Whether the consistencyGroupPolicy field is set. |
hasConsistencyGroupPolicyId()
public boolean hasConsistencyGroupPolicyId()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy_id = 261065057;
Returns | |
---|---|
Type | Description |
boolean |
Whether the consistencyGroupPolicyId field is set. |
hasDisk()
public boolean hasDisk()
The other disk asynchronously replicated to or from the current disk. 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 - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string disk = 3083677;
Returns | |
---|---|
Type | Description |
boolean |
Whether the disk field is set. |
hasDiskId()
public boolean hasDiskId()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
optional string disk_id = 60990205;
Returns | |
---|---|
Type | Description |
boolean |
Whether the diskId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DiskAsyncReplication other)
public DiskAsyncReplication.Builder mergeFrom(DiskAsyncReplication other)
Parameter | |
---|---|
Name | Description |
other |
DiskAsyncReplication |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiskAsyncReplication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiskAsyncReplication.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskAsyncReplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
setConsistencyGroupPolicy(String value)
public DiskAsyncReplication.Builder setConsistencyGroupPolicy(String value)
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy = 1991097;
Parameter | |
---|---|
Name | Description |
value |
String The consistencyGroupPolicy to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setConsistencyGroupPolicyBytes(ByteString value)
public DiskAsyncReplication.Builder setConsistencyGroupPolicyBytes(ByteString value)
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy = 1991097;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for consistencyGroupPolicy to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setConsistencyGroupPolicyId(String value)
public DiskAsyncReplication.Builder setConsistencyGroupPolicyId(String value)
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy_id = 261065057;
Parameter | |
---|---|
Name | Description |
value |
String The consistencyGroupPolicyId to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setConsistencyGroupPolicyIdBytes(ByteString value)
public DiskAsyncReplication.Builder setConsistencyGroupPolicyIdBytes(ByteString value)
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
optional string consistency_group_policy_id = 261065057;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for consistencyGroupPolicyId to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setDisk(String value)
public DiskAsyncReplication.Builder setDisk(String value)
The other disk asynchronously replicated to or from the current disk. 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 - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string disk = 3083677;
Parameter | |
---|---|
Name | Description |
value |
String The disk to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setDiskBytes(ByteString value)
public DiskAsyncReplication.Builder setDiskBytes(ByteString value)
The other disk asynchronously replicated to or from the current disk. 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 - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
optional string disk = 3083677;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for disk to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setDiskId(String value)
public DiskAsyncReplication.Builder setDiskId(String value)
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
optional string disk_id = 60990205;
Parameter | |
---|---|
Name | Description |
value |
String The diskId to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setDiskIdBytes(ByteString value)
public DiskAsyncReplication.Builder setDiskIdBytes(ByteString value)
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
optional string disk_id = 60990205;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for diskId to set. |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DiskAsyncReplication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskAsyncReplication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskAsyncReplication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiskAsyncReplication.Builder |