public final class DiskAsyncReplication extends GeneratedMessageV3 implements DiskAsyncReplicationOrBuilder
Protobuf type google.cloud.compute.v1.DiskAsyncReplication
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONSISTENCY_GROUP_POLICY_FIELD_NUMBER
public static final int CONSISTENCY_GROUP_POLICY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONSISTENCY_GROUP_POLICY_ID_FIELD_NUMBER
public static final int CONSISTENCY_GROUP_POLICY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_FIELD_NUMBER
public static final int DISK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_ID_FIELD_NUMBER
public static final int DISK_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiskAsyncReplication getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskAsyncReplication.Builder newBuilder()
newBuilder(DiskAsyncReplication prototype)
public static DiskAsyncReplication.Builder newBuilder(DiskAsyncReplication prototype)
public static DiskAsyncReplication parseDelimitedFrom(InputStream input)
public static DiskAsyncReplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskAsyncReplication parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskAsyncReplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskAsyncReplication parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskAsyncReplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskAsyncReplication parseFrom(CodedInputStream input)
public static DiskAsyncReplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskAsyncReplication parseFrom(InputStream input)
public static DiskAsyncReplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskAsyncReplication parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskAsyncReplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskAsyncReplication> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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()
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.
|
getParserForType()
public Parser<DiskAsyncReplication> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskAsyncReplication.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskAsyncReplication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiskAsyncReplication.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides