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
@Generated
public interface ResourcePolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.optional string description = 422937596;com.google.protobuf.ByteStringoptional string description = 422937596;Resource policy for disk consistency groups.Resource policy for disk consistency groups.Resource policy for instances for placement configuration.Resource policy for instances for placement configuration.longgetId()Output only.Resource policy for scheduling instance operations.Resource policy for scheduling instance operations.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringThe name of the resource, provided by the client when initially creating the resource.optional string region = 138946292;com.google.protobuf.ByteStringoptional string region = 138946292;Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Resource policy for persistent disks for creating snapshots.Resource policy for persistent disks for creating snapshots.Output only.com.google.protobuf.ByteStringOutput only.Resource policy for defining instance placement for MIGs.Resource policy for defining instance placement for MIGs.booleanOutput only.booleanoptional string description = 422937596;booleanResource policy for disk consistency groups.booleanResource policy for instances for placement configuration.booleanhasId()Output only.booleanResource policy for scheduling instance operations.booleanhasKind()Output only.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanoptional string region = 138946292;booleanOutput only.booleanOutput only.booleanResource policy for persistent disks for creating snapshots.booleanOutput only.booleanResource policy for defining instance placement for MIGs.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
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 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. [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. [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. [Output Only] Type of the resource. Alwayscompute#resource_policies for resource policies.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#resource_policies for resource policies.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#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 withRFC1035. 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 withRFC1035. 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 withRFC1035. 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. [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. [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. [Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315; -
hasSelfLink
boolean hasSelfLink()Output only. [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. [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. [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. [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. [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. [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.
-
hasWorkloadPolicy
boolean hasWorkloadPolicy()Resource policy for defining instance placement for MIGs.
optional .google.cloud.compute.v1.ResourcePolicyWorkloadPolicy workload_policy = 114721530;- Returns:
- Whether the workloadPolicy field is set.
-
getWorkloadPolicy
ResourcePolicyWorkloadPolicy getWorkloadPolicy()Resource policy for defining instance placement for MIGs.
optional .google.cloud.compute.v1.ResourcePolicyWorkloadPolicy workload_policy = 114721530;- Returns:
- The workloadPolicy.
-
getWorkloadPolicyOrBuilder
ResourcePolicyWorkloadPolicyOrBuilder getWorkloadPolicyOrBuilder()Resource policy for defining instance placement for MIGs.
optional .google.cloud.compute.v1.ResourcePolicyWorkloadPolicy workload_policy = 114721530;
-