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
public interface DiskAsyncReplicationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConsistencyGroupPolicy
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:
- Whether the consistencyGroupPolicy field is set.
-
getConsistencyGroupPolicy
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:
- The consistencyGroupPolicy.
-
getConsistencyGroupPolicyBytes
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;
- Returns:
- The bytes for consistencyGroupPolicy.
-
hasConsistencyGroupPolicyId
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:
- Whether the consistencyGroupPolicyId field is set.
-
getConsistencyGroupPolicyId
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:
- The consistencyGroupPolicyId.
-
getConsistencyGroupPolicyIdBytes
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;
- 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] 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] 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] 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.
-
-