Package com.google.cloud.compute.v1
Interface ResourcePolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicy,ResourcePolicy.Builder
public interface ResourcePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.StringgetDescription()optional string description = 422937596;com.google.protobuf.ByteStringgetDescriptionBytes()optional string description = 422937596;ResourcePolicyDiskConsistencyGroupPolicygetDiskConsistencyGroupPolicy()Resource policy for disk consistency groups.ResourcePolicyDiskConsistencyGroupPolicyOrBuildergetDiskConsistencyGroupPolicyOrBuilder()Resource policy for disk consistency groups.ResourcePolicyGroupPlacementPolicygetGroupPlacementPolicy()Resource policy for instances for placement configuration.ResourcePolicyGroupPlacementPolicyOrBuildergetGroupPlacementPolicyOrBuilder()Resource policy for instances for placement configuration.longgetId()[Output Only] The unique identifier for the resource.ResourcePolicyInstanceSchedulePolicygetInstanceSchedulePolicy()Resource policy for scheduling instance operations.ResourcePolicyInstanceSchedulePolicyOrBuildergetInstanceSchedulePolicyOrBuilder()Resource policy for scheduling instance operations.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringgetNameBytes()The name of the resource, provided by the client when initially creating the resource.StringgetRegion()optional string region = 138946292;com.google.protobuf.ByteStringgetRegionBytes()optional string region = 138946292;ResourcePolicyResourceStatusgetResourceStatus()[Output Only] The system status of the resource policy.ResourcePolicyResourceStatusOrBuildergetResourceStatusOrBuilder()[Output Only] The system status of the resource policy.StringgetSelfLink()[Output Only] Server-defined fully-qualified URL for this resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined fully-qualified URL for this resource.ResourcePolicySnapshotSchedulePolicygetSnapshotSchedulePolicy()Resource policy for persistent disks for creating snapshots.ResourcePolicySnapshotSchedulePolicyOrBuildergetSnapshotSchedulePolicyOrBuilder()Resource policy for persistent disks for creating snapshots.StringgetStatus()[Output Only] The status of resource policy creation.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] The status of resource policy creation.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()optional string description = 422937596;booleanhasDiskConsistencyGroupPolicy()Resource policy for disk consistency groups.booleanhasGroupPlacementPolicy()Resource policy for instances for placement configuration.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasInstanceSchedulePolicy()Resource policy for scheduling instance operations.booleanhasKind()[Output Only] Type of the resource.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanhasRegion()optional string region = 138946292;booleanhasResourceStatus()[Output Only] The system status of the resource policy.booleanhasSelfLink()[Output Only] Server-defined fully-qualified URL for this resource.booleanhasSnapshotSchedulePolicy()Resource policy for persistent disks for creating snapshots.booleanhasStatus()[Output Only] The status of resource policy creation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasDiskConsistencyGroupPolicy
boolean hasDiskConsistencyGroupPolicy()
Resource policy for disk consistency groups.
optional .google.cloud.compute.v1.ResourcePolicyDiskConsistencyGroupPolicy disk_consistency_group_policy = 473727515;- Returns:
- Whether the diskConsistencyGroupPolicy field is set.
-
getDiskConsistencyGroupPolicy
ResourcePolicyDiskConsistencyGroupPolicy getDiskConsistencyGroupPolicy()
Resource policy for disk consistency groups.
optional .google.cloud.compute.v1.ResourcePolicyDiskConsistencyGroupPolicy disk_consistency_group_policy = 473727515;- Returns:
- The diskConsistencyGroupPolicy.
-
getDiskConsistencyGroupPolicyOrBuilder
ResourcePolicyDiskConsistencyGroupPolicyOrBuilder getDiskConsistencyGroupPolicyOrBuilder()
Resource policy for disk consistency groups.
optional .google.cloud.compute.v1.ResourcePolicyDiskConsistencyGroupPolicy disk_consistency_group_policy = 473727515;
-
hasGroupPlacementPolicy
boolean hasGroupPlacementPolicy()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;- Returns:
- Whether the groupPlacementPolicy field is set.
-
getGroupPlacementPolicy
ResourcePolicyGroupPlacementPolicy getGroupPlacementPolicy()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;- Returns:
- The groupPlacementPolicy.
-
getGroupPlacementPolicyOrBuilder
ResourcePolicyGroupPlacementPolicyOrBuilder getGroupPlacementPolicyOrBuilder()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasInstanceSchedulePolicy
boolean hasInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;- Returns:
- Whether the instanceSchedulePolicy field is set.
-
getInstanceSchedulePolicy
ResourcePolicyInstanceSchedulePolicy getInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;- Returns:
- The instanceSchedulePolicy.
-
getInstanceSchedulePolicyOrBuilder
ResourcePolicyInstanceSchedulePolicyOrBuilder getInstanceSchedulePolicyOrBuilder()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasRegion
boolean hasRegion()
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
optional string region = 138946292;- Returns:
- The bytes for region.
-
hasResourceStatus
boolean hasResourceStatus()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
ResourcePolicyResourceStatus getResourceStatus()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;- Returns:
- The resourceStatus.
-
getResourceStatusOrBuilder
ResourcePolicyResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSnapshotSchedulePolicy
boolean hasSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;- Returns:
- Whether the snapshotSchedulePolicy field is set.
-
getSnapshotSchedulePolicy
ResourcePolicySnapshotSchedulePolicy getSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;- Returns:
- The snapshotSchedulePolicy.
-
getSnapshotSchedulePolicyOrBuilder
ResourcePolicySnapshotSchedulePolicyOrBuilder getSnapshotSchedulePolicyOrBuilder()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
-
hasStatus
boolean hasStatus()
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-
-