public final class DisksStopGroupAsyncReplicationResource extends GeneratedMessageV3 implements DisksStopGroupAsyncReplicationResourceOrBuilder
A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted.
Protobuf type google.cloud.compute.v1.DisksStopGroupAsyncReplicationResource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
RESOURCE_POLICY_FIELD_NUMBER
public static final int RESOURCE_POLICY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DisksStopGroupAsyncReplicationResource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DisksStopGroupAsyncReplicationResource.Builder newBuilder()
newBuilder(DisksStopGroupAsyncReplicationResource prototype)
public static DisksStopGroupAsyncReplicationResource.Builder newBuilder(DisksStopGroupAsyncReplicationResource prototype)
public static DisksStopGroupAsyncReplicationResource parseDelimitedFrom(InputStream input)
public static DisksStopGroupAsyncReplicationResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DisksStopGroupAsyncReplicationResource parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisksStopGroupAsyncReplicationResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DisksStopGroupAsyncReplicationResource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisksStopGroupAsyncReplicationResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisksStopGroupAsyncReplicationResource parseFrom(CodedInputStream input)
public static DisksStopGroupAsyncReplicationResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DisksStopGroupAsyncReplicationResource parseFrom(InputStream input)
public static DisksStopGroupAsyncReplicationResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DisksStopGroupAsyncReplicationResource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisksStopGroupAsyncReplicationResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DisksStopGroupAsyncReplicationResource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DisksStopGroupAsyncReplicationResource getDefaultInstanceForType()
getParserForType()
public Parser<DisksStopGroupAsyncReplicationResource> getParserForType()
Overrides
getResourcePolicy()
public String getResourcePolicy()
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string resource_policy = 159240835;
Returns |
---|
Type | Description |
String | The resourcePolicy.
|
getResourcePolicyBytes()
public ByteString getResourcePolicyBytes()
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string resource_policy = 159240835;
Returns |
---|
Type | Description |
ByteString | The bytes for resourcePolicy.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasResourcePolicy()
public boolean hasResourcePolicy()
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string resource_policy = 159240835;
Returns |
---|
Type | Description |
boolean | Whether the resourcePolicy field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DisksStopGroupAsyncReplicationResource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DisksStopGroupAsyncReplicationResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DisksStopGroupAsyncReplicationResource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides