Package com.google.cloud.compute.v1
Interface DisksStopGroupAsyncReplicationResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DisksStopGroupAsyncReplicationResource,DisksStopGroupAsyncReplicationResource.Builder
@Generated
public interface DisksStopGroupAsyncReplicationResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe URL of the DiskConsistencyGroupPolicy for the group of disks to stop.com.google.protobuf.ByteStringThe URL of the DiskConsistencyGroupPolicy for the group of disks to stop.booleanThe URL of the DiskConsistencyGroupPolicy for the group of disks to stop.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
-
hasResourcePolicy
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:
- Whether the resourcePolicy field is set.
-
getResourcePolicy
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:
- The resourcePolicy.
-
getResourcePolicyBytes
com.google.protobuf.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:
- The bytes for resourcePolicy.
-