public static final class ResourcePolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder> implements ResourcePolicyOrBuilder
Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.Protobuf type
google.cloud.compute.v1.ResourcePolicy| Modifier and Type | Method and Description |
|---|---|
ResourcePolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicy |
build() |
ResourcePolicy |
buildPartial() |
ResourcePolicy.Builder |
clear() |
ResourcePolicy.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
ResourcePolicy.Builder |
clearDescription()
optional string description = 422937596; |
ResourcePolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResourcePolicy.Builder |
clearGroupPlacementPolicy()
Resource policy for instances for placement configuration.
|
ResourcePolicy.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
ResourcePolicy.Builder |
clearInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
|
ResourcePolicy.Builder |
clearKind()
[Output Only] Type of the resource.
|
ResourcePolicy.Builder |
clearName()
The name of the resource, provided by the client when initially creating the resource.
|
ResourcePolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResourcePolicy.Builder |
clearRegion()
optional string region = 138946292; |
ResourcePolicy.Builder |
clearResourceStatus()
[Output Only] The system status of the resource policy.
|
ResourcePolicy.Builder |
clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
ResourcePolicy.Builder |
clearSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
|
ResourcePolicy.Builder |
clearStatus()
[Output Only] The status of resource policy creation.
|
ResourcePolicy.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
ResourcePolicy |
getDefaultInstanceForType() |
String |
getDescription()
optional string description = 422937596; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 422937596; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ResourcePolicyGroupPlacementPolicy |
getGroupPlacementPolicy()
Resource policy for instances for placement configuration.
|
ResourcePolicyGroupPlacementPolicy.Builder |
getGroupPlacementPolicyBuilder()
Resource policy for instances for placement configuration.
|
ResourcePolicyGroupPlacementPolicyOrBuilder |
getGroupPlacementPolicyOrBuilder()
Resource policy for instances for placement configuration.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
ResourcePolicyInstanceSchedulePolicy |
getInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
|
ResourcePolicyInstanceSchedulePolicy.Builder |
getInstanceSchedulePolicyBuilder()
Resource policy for scheduling instance operations.
|
ResourcePolicyInstanceSchedulePolicyOrBuilder |
getInstanceSchedulePolicyOrBuilder()
Resource policy for scheduling instance operations.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getRegion()
optional string region = 138946292; |
com.google.protobuf.ByteString |
getRegionBytes()
optional string region = 138946292; |
ResourcePolicyResourceStatus |
getResourceStatus()
[Output Only] The system status of the resource policy.
|
ResourcePolicyResourceStatus.Builder |
getResourceStatusBuilder()
[Output Only] The system status of the resource policy.
|
ResourcePolicyResourceStatusOrBuilder |
getResourceStatusOrBuilder()
[Output Only] The system status of the resource policy.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
|
ResourcePolicySnapshotSchedulePolicy |
getSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
getSnapshotSchedulePolicyBuilder()
Resource policy for persistent disks for creating snapshots.
|
ResourcePolicySnapshotSchedulePolicyOrBuilder |
getSnapshotSchedulePolicyOrBuilder()
Resource policy for persistent disks for creating snapshots.
|
String |
getStatus()
[Output Only] The status of resource policy creation.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of resource policy creation.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
optional string description = 422937596; |
boolean |
hasGroupPlacementPolicy()
Resource policy for instances for placement configuration.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
The name of the resource, provided by the client when initially creating the resource.
|
boolean |
hasRegion()
optional string region = 138946292; |
boolean |
hasResourceStatus()
[Output Only] The system status of the resource policy.
|
boolean |
hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
boolean |
hasSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
|
boolean |
hasStatus()
[Output Only] The status of resource policy creation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResourcePolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourcePolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResourcePolicy.Builder |
mergeFrom(ResourcePolicy other) |
ResourcePolicy.Builder |
mergeGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy value)
Resource policy for instances for placement configuration.
|
ResourcePolicy.Builder |
mergeInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy value)
Resource policy for scheduling instance operations.
|
ResourcePolicy.Builder |
mergeResourceStatus(ResourcePolicyResourceStatus value)
[Output Only] The system status of the resource policy.
|
ResourcePolicy.Builder |
mergeSnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy value)
Resource policy for persistent disks for creating snapshots.
|
ResourcePolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResourcePolicy.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
ResourcePolicy.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
ResourcePolicy.Builder |
setDescription(String value)
optional string description = 422937596; |
ResourcePolicy.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 422937596; |
ResourcePolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicy.Builder |
setGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy.Builder builderForValue)
Resource policy for instances for placement configuration.
|
ResourcePolicy.Builder |
setGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy value)
Resource policy for instances for placement configuration.
|
ResourcePolicy.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
ResourcePolicy.Builder |
setInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy.Builder builderForValue)
Resource policy for scheduling instance operations.
|
ResourcePolicy.Builder |
setInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy value)
Resource policy for scheduling instance operations.
|
ResourcePolicy.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
ResourcePolicy.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
ResourcePolicy.Builder |
setName(String value)
The name of the resource, provided by the client when initially creating the resource.
|
ResourcePolicy.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource.
|
ResourcePolicy.Builder |
setRegion(String value)
optional string region = 138946292; |
ResourcePolicy.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
optional string region = 138946292; |
ResourcePolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourcePolicy.Builder |
setResourceStatus(ResourcePolicyResourceStatus.Builder builderForValue)
[Output Only] The system status of the resource policy.
|
ResourcePolicy.Builder |
setResourceStatus(ResourcePolicyResourceStatus value)
[Output Only] The system status of the resource policy.
|
ResourcePolicy.Builder |
setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
ResourcePolicy.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
ResourcePolicy.Builder |
setSnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy.Builder builderForValue)
Resource policy for persistent disks for creating snapshots.
|
ResourcePolicy.Builder |
setSnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy value)
Resource policy for persistent disks for creating snapshots.
|
ResourcePolicy.Builder |
setStatus(String value)
[Output Only] The status of resource policy creation.
|
ResourcePolicy.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of resource policy creation.
|
ResourcePolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResourcePolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder mergeFrom(ResourcePolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public ResourcePolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicy.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ResourcePolicyOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ResourcePolicyOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public ResourcePolicy.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public ResourcePolicy.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
optional string description = 422937596;hasDescription in interface ResourcePolicyOrBuilderpublic String getDescription()
optional string description = 422937596;getDescription in interface ResourcePolicyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 422937596;getDescriptionBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setDescription(String value)
optional string description = 422937596;value - The description to set.public ResourcePolicy.Builder clearDescription()
optional string description = 422937596;public ResourcePolicy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 422937596;value - The bytes for description to set.public boolean hasGroupPlacementPolicy()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
hasGroupPlacementPolicy in interface ResourcePolicyOrBuilderpublic ResourcePolicyGroupPlacementPolicy getGroupPlacementPolicy()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
getGroupPlacementPolicy in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy value)
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
public ResourcePolicy.Builder setGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy.Builder builderForValue)
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
public ResourcePolicy.Builder mergeGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy value)
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
public ResourcePolicy.Builder clearGroupPlacementPolicy()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
public ResourcePolicyGroupPlacementPolicy.Builder getGroupPlacementPolicyBuilder()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
public ResourcePolicyGroupPlacementPolicyOrBuilder getGroupPlacementPolicyOrBuilder()
Resource policy for instances for placement configuration.
optional .google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596;
getGroupPlacementPolicyOrBuilder in interface ResourcePolicyOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface ResourcePolicyOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public ResourcePolicy.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
hasInstanceSchedulePolicy in interface ResourcePolicyOrBuilderpublic ResourcePolicyInstanceSchedulePolicy getInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
getInstanceSchedulePolicy in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy value)
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
public ResourcePolicy.Builder setInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy.Builder builderForValue)
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
public ResourcePolicy.Builder mergeInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy value)
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
public ResourcePolicy.Builder clearInstanceSchedulePolicy()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
public ResourcePolicyInstanceSchedulePolicy.Builder getInstanceSchedulePolicyBuilder()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
public ResourcePolicyInstanceSchedulePolicyOrBuilder getInstanceSchedulePolicyOrBuilder()
Resource policy for scheduling instance operations.
optional .google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy instance_schedule_policy = 344877104;
getInstanceSchedulePolicyOrBuilder in interface ResourcePolicyOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;hasKind in interface ResourcePolicyOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;getKind in interface ResourcePolicyOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;getKindBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;value - The kind to set.public ResourcePolicy.Builder clearKind()
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;public ResourcePolicy.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#resource_policies for resource policies.
optional string kind = 3292052;value - The bytes for kind to set.public 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;hasName in interface ResourcePolicyOrBuilderpublic 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;getName in interface ResourcePolicyOrBuilderpublic 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;getNameBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setName(String value)
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;value - The name to set.public ResourcePolicy.Builder clearName()
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;public ResourcePolicy.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public boolean hasRegion()
optional string region = 138946292;hasRegion in interface ResourcePolicyOrBuilderpublic String getRegion()
optional string region = 138946292;getRegion in interface ResourcePolicyOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
optional string region = 138946292;getRegionBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setRegion(String value)
optional string region = 138946292;value - The region to set.public ResourcePolicy.Builder clearRegion()
optional string region = 138946292;public ResourcePolicy.Builder setRegionBytes(com.google.protobuf.ByteString value)
optional string region = 138946292;value - The bytes for region to set.public boolean hasResourceStatus()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
hasResourceStatus in interface ResourcePolicyOrBuilderpublic ResourcePolicyResourceStatus getResourceStatus()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
getResourceStatus in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setResourceStatus(ResourcePolicyResourceStatus value)
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
public ResourcePolicy.Builder setResourceStatus(ResourcePolicyResourceStatus.Builder builderForValue)
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
public ResourcePolicy.Builder mergeResourceStatus(ResourcePolicyResourceStatus value)
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
public ResourcePolicy.Builder clearResourceStatus()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
public ResourcePolicyResourceStatus.Builder getResourceStatusBuilder()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
public ResourcePolicyResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] The system status of the resource policy.
optional .google.cloud.compute.v1.ResourcePolicyResourceStatus resource_status = 249429315;
getResourceStatusOrBuilder in interface ResourcePolicyOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface ResourcePolicyOrBuilderpublic String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLink in interface ResourcePolicyOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public ResourcePolicy.Builder clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;public ResourcePolicy.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
hasSnapshotSchedulePolicy in interface ResourcePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicy getSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
getSnapshotSchedulePolicy in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setSnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy value)
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
public ResourcePolicy.Builder setSnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy.Builder builderForValue)
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
public ResourcePolicy.Builder mergeSnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy value)
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
public ResourcePolicy.Builder clearSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
public ResourcePolicySnapshotSchedulePolicy.Builder getSnapshotSchedulePolicyBuilder()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
public ResourcePolicySnapshotSchedulePolicyOrBuilder getSnapshotSchedulePolicyOrBuilder()
Resource policy for persistent disks for creating snapshots.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy snapshot_schedule_policy = 218131295;
getSnapshotSchedulePolicyOrBuilder in interface ResourcePolicyOrBuilderpublic boolean hasStatus()
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface ResourcePolicyOrBuilderpublic String getStatus()
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface ResourcePolicyOrBuilderpublic 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;getStatusBytes in interface ResourcePolicyOrBuilderpublic ResourcePolicy.Builder setStatus(String value)
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The status to set.public ResourcePolicy.Builder clearStatus()
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;public ResourcePolicy.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of resource policy creation. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public final ResourcePolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>public final ResourcePolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicy.Builder>Copyright © 2023 Google LLC. All rights reserved.