public static final class DiskAsyncReplication.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder> implements DiskAsyncReplicationOrBuilder
Protobuf type
google.cloud.compute.v1.DiskAsyncReplication| Modifier and Type | Method and Description |
|---|---|
DiskAsyncReplication.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DiskAsyncReplication |
build() |
DiskAsyncReplication |
buildPartial() |
DiskAsyncReplication.Builder |
clear() |
DiskAsyncReplication.Builder |
clearConsistencyGroupPolicy()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication.Builder |
clearConsistencyGroupPolicyId()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication.Builder |
clearDisk()
The other disk asynchronously replicated to or from the current disk.
|
DiskAsyncReplication.Builder |
clearDiskId()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk.
|
DiskAsyncReplication.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DiskAsyncReplication.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DiskAsyncReplication.Builder |
clone() |
String |
getConsistencyGroupPolicy()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
com.google.protobuf.ByteString |
getConsistencyGroupPolicyBytes()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
String |
getConsistencyGroupPolicyId()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
com.google.protobuf.ByteString |
getConsistencyGroupPolicyIdBytes()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisk()
The other disk asynchronously replicated to or from the current disk.
|
com.google.protobuf.ByteString |
getDiskBytes()
The other disk asynchronously replicated to or from the current disk.
|
String |
getDiskId()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk.
|
com.google.protobuf.ByteString |
getDiskIdBytes()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk.
|
boolean |
hasConsistencyGroupPolicy()
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
boolean |
hasConsistencyGroupPolicyId()
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
boolean |
hasDisk()
The other disk asynchronously replicated to or from the current disk.
|
boolean |
hasDiskId()
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DiskAsyncReplication.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DiskAsyncReplication.Builder |
mergeFrom(DiskAsyncReplication other) |
DiskAsyncReplication.Builder |
mergeFrom(com.google.protobuf.Message other) |
DiskAsyncReplication.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DiskAsyncReplication.Builder |
setConsistencyGroupPolicy(String value)
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication.Builder |
setConsistencyGroupPolicyBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication.Builder |
setConsistencyGroupPolicyId(String value)
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication.Builder |
setConsistencyGroupPolicyIdBytes(com.google.protobuf.ByteString value)
[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
|
DiskAsyncReplication.Builder |
setDisk(String value)
The other disk asynchronously replicated to or from the current disk.
|
DiskAsyncReplication.Builder |
setDiskBytes(com.google.protobuf.ByteString value)
The other disk asynchronously replicated to or from the current disk.
|
DiskAsyncReplication.Builder |
setDiskId(String value)
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk.
|
DiskAsyncReplication.Builder |
setDiskIdBytes(com.google.protobuf.ByteString value)
[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk.
|
DiskAsyncReplication.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DiskAsyncReplication.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DiskAsyncReplication.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DiskAsyncReplication build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DiskAsyncReplication buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DiskAsyncReplication.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder mergeFrom(DiskAsyncReplication other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public DiskAsyncReplication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiskAsyncReplication.Builder>IOExceptionpublic 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;hasConsistencyGroupPolicy in interface DiskAsyncReplicationOrBuilderpublic 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;getConsistencyGroupPolicy in interface DiskAsyncReplicationOrBuilderpublic com.google.protobuf.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;getConsistencyGroupPolicyBytes in interface DiskAsyncReplicationOrBuilderpublic 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;value - The consistencyGroupPolicy to set.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;public DiskAsyncReplication.Builder setConsistencyGroupPolicyBytes(com.google.protobuf.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;value - The bytes for consistencyGroupPolicy to set.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;hasConsistencyGroupPolicyId in interface DiskAsyncReplicationOrBuilderpublic 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;getConsistencyGroupPolicyId in interface DiskAsyncReplicationOrBuilderpublic com.google.protobuf.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;getConsistencyGroupPolicyIdBytes in interface DiskAsyncReplicationOrBuilderpublic 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;value - The consistencyGroupPolicyId to set.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;public DiskAsyncReplication.Builder setConsistencyGroupPolicyIdBytes(com.google.protobuf.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;value - The bytes for consistencyGroupPolicyId to set.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;hasDisk in interface DiskAsyncReplicationOrBuilderpublic 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;getDisk in interface DiskAsyncReplicationOrBuilderpublic com.google.protobuf.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;getDiskBytes in interface DiskAsyncReplicationOrBuilderpublic 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;value - The disk to set.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;public DiskAsyncReplication.Builder setDiskBytes(com.google.protobuf.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;value - The bytes for disk to set.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;hasDiskId in interface DiskAsyncReplicationOrBuilderpublic 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;getDiskId in interface DiskAsyncReplicationOrBuilderpublic com.google.protobuf.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;getDiskIdBytes in interface DiskAsyncReplicationOrBuilderpublic 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;value - The diskId to set.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;public DiskAsyncReplication.Builder setDiskIdBytes(com.google.protobuf.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;value - The bytes for diskId to set.public final DiskAsyncReplication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>public final DiskAsyncReplication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DiskAsyncReplication.Builder>Copyright © 2025 Google LLC. All rights reserved.