Package com.google.cloud.compute.v1
Class ResourcePolicySnapshotSchedulePolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>
com.google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy.Builder
- All Implemented Interfaces:
ResourcePolicySnapshotSchedulePolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourcePolicySnapshotSchedulePolicy
public static final class ResourcePolicySnapshotSchedulePolicy.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Retention policy applied to snapshots created by this resource policy.A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.Properties with which snapshots are created such as labels, encryption keys.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRetention policy applied to snapshots created by this resource policy.Retention policy applied to snapshots created by this resource policy.Retention policy applied to snapshots created by this resource policy.A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.Properties with which snapshots are created such as labels, encryption keys.Properties with which snapshots are created such as labels, encryption keys.Properties with which snapshots are created such as labels, encryption keys.booleanRetention policy applied to snapshots created by this resource policy.booleanA Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.booleanProperties with which snapshots are created such as labels, encryption keys.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Retention policy applied to snapshots created by this resource policy.A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.Properties with which snapshots are created such as labels, encryption keys.Retention policy applied to snapshots created by this resource policy.Retention policy applied to snapshots created by this resource policy.A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.setSchedule(ResourcePolicySnapshotSchedulePolicySchedule.Builder builderForValue) A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.Properties with which snapshots are created such as labels, encryption keys.setSnapshotProperties(ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder builderForValue) Properties with which snapshots are created such as labels, encryption keys.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>
-
mergeFrom
public ResourcePolicySnapshotSchedulePolicy.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicy other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>
-
mergeFrom
public ResourcePolicySnapshotSchedulePolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourcePolicySnapshotSchedulePolicy.Builder>- Throws:
IOException
-
hasRetentionPolicy
public boolean hasRetentionPolicy()Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;- Specified by:
hasRetentionPolicyin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder- Returns:
- Whether the retentionPolicy field is set.
-
getRetentionPolicy
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;- Specified by:
getRetentionPolicyin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder- Returns:
- The retentionPolicy.
-
setRetentionPolicy
public ResourcePolicySnapshotSchedulePolicy.Builder setRetentionPolicy(ResourcePolicySnapshotSchedulePolicyRetentionPolicy value) Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779; -
setRetentionPolicy
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; -
mergeRetentionPolicy
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; -
clearRetentionPolicy
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779; -
getRetentionPolicyBuilder
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779; -
getRetentionPolicyOrBuilder
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;- Specified by:
getRetentionPolicyOrBuilderin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder
-
hasSchedule
public 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;- Specified by:
hasSchedulein interfaceResourcePolicySnapshotSchedulePolicyOrBuilder- Returns:
- Whether the schedule field is set.
-
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;- Specified by:
getSchedulein interfaceResourcePolicySnapshotSchedulePolicyOrBuilder- Returns:
- The schedule.
-
setSchedule
public 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; -
setSchedule
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; -
mergeSchedule
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; -
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; -
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; -
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;- Specified by:
getScheduleOrBuilderin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder
-
hasSnapshotProperties
public boolean hasSnapshotProperties()Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;- Specified by:
hasSnapshotPropertiesin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder- Returns:
- Whether the snapshotProperties field is set.
-
getSnapshotProperties
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;- Specified by:
getSnapshotPropertiesin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder- Returns:
- The snapshotProperties.
-
setSnapshotProperties
public 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; -
setSnapshotProperties
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; -
mergeSnapshotProperties
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; -
clearSnapshotProperties
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278; -
getSnapshotPropertiesBuilder
public ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder getSnapshotPropertiesBuilder()Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278; -
getSnapshotPropertiesOrBuilder
public ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder getSnapshotPropertiesOrBuilder()Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;- Specified by:
getSnapshotPropertiesOrBuilderin interfaceResourcePolicySnapshotSchedulePolicyOrBuilder
-