Interface DiskAsyncReplicationOrBuilder (1.65.0)

public interface DiskAsyncReplicationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsistencyGroupPolicy()

public abstract 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 abstract 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 abstract 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 abstract 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.

getDisk()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.