Package com.google.cloud.compute.v1
Interface DiskAsyncReplicationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskAsyncReplication,DiskAsyncReplication.Builder
@Generated
public interface DiskAsyncReplicationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getDisk()The other disk asynchronously replicated to or from the current disk.com.google.protobuf.ByteStringThe other disk asynchronously replicated to or from the current disk.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanhasDisk()The other disk asynchronously replicated to or from the current disk.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConsistencyGroupPolicy
boolean hasConsistencyGroupPolicy()Output only. [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:
- Whether the consistencyGroupPolicy field is set.
-
getConsistencyGroupPolicy
String getConsistencyGroupPolicy()Output only. [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:
- The consistencyGroupPolicy.
-
getConsistencyGroupPolicyBytes
com.google.protobuf.ByteString getConsistencyGroupPolicyBytes()Output only. [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:
- The bytes for consistencyGroupPolicy.
-
hasConsistencyGroupPolicyId
boolean hasConsistencyGroupPolicyId()Output only. [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:
- Whether the consistencyGroupPolicyId field is set.
-
getConsistencyGroupPolicyId
String getConsistencyGroupPolicyId()Output only. [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:
- The consistencyGroupPolicyId.
-
getConsistencyGroupPolicyIdBytes
com.google.protobuf.ByteString getConsistencyGroupPolicyIdBytes()Output only. [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:
- The bytes for consistencyGroupPolicyId.
-
hasDisk
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:
- Whether the disk field is set.
-
getDisk
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:
- The disk.
-
getDiskBytes
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;- Returns:
- The bytes for disk.
-
hasDiskId
boolean hasDiskId()Output only. [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:
- Whether the diskId field is set.
-
getDiskId
String getDiskId()Output only. [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:
- The diskId.
-
getDiskIdBytes
com.google.protobuf.ByteString getDiskIdBytes()Output only. [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:
- The bytes for diskId.
-