public static final class ResourcePolicySnapshotSchedulePolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder> implements ResourcePolicySnapshotSchedulePolicyOrBuilder
A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.Protobuf type
google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy| Modifier and Type | Method and Description |
|---|---|
ResourcePolicySnapshotSchedulePolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicySnapshotSchedulePolicy |
build() |
ResourcePolicySnapshotSchedulePolicy |
buildPartial() |
ResourcePolicySnapshotSchedulePolicy.Builder |
clear() |
ResourcePolicySnapshotSchedulePolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResourcePolicySnapshotSchedulePolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResourcePolicySnapshotSchedulePolicy.Builder |
clearRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
clearSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
clearSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
clone() |
ResourcePolicySnapshotSchedulePolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ResourcePolicySnapshotSchedulePolicyRetentionPolicy |
getRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
getRetentionPolicyBuilder()
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder |
getRetentionPolicyOrBuilder()
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicySchedule |
getSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicySchedule.Builder |
getScheduleBuilder()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder |
getScheduleOrBuilder()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties |
getSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
|
ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder |
getSnapshotPropertiesBuilder()
Properties with which snapshots are created such as labels, encryption keys.
|
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder |
getSnapshotPropertiesOrBuilder()
Properties with which snapshots are created such as labels, encryption keys.
|
boolean |
hasRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
|
boolean |
hasSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
boolean |
hasSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeFrom(ResourcePolicySnapshotSchedulePolicy other) |
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy value)
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeSchedule(ResourcePolicySnapshotSchedulePolicySchedule value)
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties value)
Properties with which snapshots are created such as labels, encryption keys.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResourcePolicySnapshotSchedulePolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourcePolicySnapshotSchedulePolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourcePolicySnapshotSchedulePolicy.Builder |
setRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder builderForValue)
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
setRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy value)
Retention policy applied to snapshots created by this resource policy.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
setSchedule(ResourcePolicySnapshotSchedulePolicySchedule.Builder builderForValue)
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
setSchedule(ResourcePolicySnapshotSchedulePolicySchedule value)
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
setSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder builderForValue)
Properties with which snapshots are created such as labels, encryption keys.
|
ResourcePolicySnapshotSchedulePolicy.Builder |
setSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties value)
Properties with which snapshots are created such as labels, encryption keys.
|
ResourcePolicySnapshotSchedulePolicy.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<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.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<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResourcePolicySnapshotSchedulePolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicySnapshotSchedulePolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResourcePolicySnapshotSchedulePolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.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<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.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<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.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<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>public ResourcePolicySnapshotSchedulePolicy.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<ResourcePolicySnapshotSchedulePolicy.Builder>IOExceptionpublic boolean hasRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
hasRetentionPolicy in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicyRetentionPolicy getRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
getRetentionPolicy in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicy.Builder setRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy value)
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
public ResourcePolicySnapshotSchedulePolicy.Builder setRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder builderForValue)
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
public ResourcePolicySnapshotSchedulePolicy.Builder mergeRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy value)
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
public ResourcePolicySnapshotSchedulePolicy.Builder clearRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder getRetentionPolicyBuilder()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
public ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder getRetentionPolicyOrBuilder()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
getRetentionPolicyOrBuilder in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic boolean hasSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
hasSchedule in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicySchedule getSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
getSchedule in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicy.Builder setSchedule(ResourcePolicySnapshotSchedulePolicySchedule value)
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
public ResourcePolicySnapshotSchedulePolicy.Builder setSchedule(ResourcePolicySnapshotSchedulePolicySchedule.Builder builderForValue)
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
public ResourcePolicySnapshotSchedulePolicy.Builder mergeSchedule(ResourcePolicySnapshotSchedulePolicySchedule value)
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
public ResourcePolicySnapshotSchedulePolicy.Builder clearSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
public ResourcePolicySnapshotSchedulePolicySchedule.Builder getScheduleBuilder()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
public ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder getScheduleOrBuilder()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;
getScheduleOrBuilder in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic boolean hasSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
hasSnapshotProperties in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicySnapshotProperties getSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
getSnapshotProperties in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic ResourcePolicySnapshotSchedulePolicy.Builder setSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties value)
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
public ResourcePolicySnapshotSchedulePolicy.Builder setSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder builderForValue)
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
public ResourcePolicySnapshotSchedulePolicy.Builder mergeSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties value)
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
public ResourcePolicySnapshotSchedulePolicy.Builder clearSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder getSnapshotPropertiesBuilder()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
public ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder getSnapshotPropertiesOrBuilder()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
getSnapshotPropertiesOrBuilder in interface ResourcePolicySnapshotSchedulePolicyOrBuilderpublic final ResourcePolicySnapshotSchedulePolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>public final ResourcePolicySnapshotSchedulePolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>Copyright © 2023 Google LLC. All rights reserved.