Class OSPolicyAssignment.Rollout.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Rollout.Builder>
com.google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout.Builder
- All Implemented Interfaces:
OSPolicyAssignment.RolloutOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OSPolicyAssignment.Rollout
public static final class OSPolicyAssignment.Rollout.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Rollout.Builder>
implements OSPolicyAssignment.RolloutOrBuilder
Message to configure the rollout at the zonal level for the OS policy assignment.Protobuf type
google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.Required.Required.com.google.protobuf.DurationRequired.com.google.protobuf.Duration.BuilderRequired.com.google.protobuf.DurationOrBuilderRequired.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMinWaitDuration(com.google.protobuf.Duration value) Required.Required.setDisruptionBudget(FixedOrPercent.Builder builderForValue) Required.setMinWaitDuration(com.google.protobuf.Duration value) Required.setMinWaitDuration(com.google.protobuf.Duration.Builder builderForValue) Required.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<OSPolicyAssignment.Rollout.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<OSPolicyAssignment.Rollout.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<OSPolicyAssignment.Rollout.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<OSPolicyAssignment.Rollout.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.Rollout.Builder>
-
mergeFrom
public OSPolicyAssignment.Rollout.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<OSPolicyAssignment.Rollout.Builder>- Throws:
IOException
-
hasDisruptionBudget
public boolean hasDisruptionBudget()Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDisruptionBudgetin interfaceOSPolicyAssignment.RolloutOrBuilder- Returns:
- Whether the disruptionBudget field is set.
-
getDisruptionBudget
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisruptionBudgetin interfaceOSPolicyAssignment.RolloutOrBuilder- Returns:
- The disruptionBudget.
-
setDisruptionBudget
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; -
setDisruptionBudget
public OSPolicyAssignment.Rollout.Builder setDisruptionBudget(FixedOrPercent.Builder builderForValue) Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeDisruptionBudget
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearDisruptionBudget
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; -
getDisruptionBudgetBuilder
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED]; -
getDisruptionBudgetOrBuilder
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisruptionBudgetOrBuilderin interfaceOSPolicyAssignment.RolloutOrBuilder
-
hasMinWaitDuration
public boolean hasMinWaitDuration()Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasMinWaitDurationin interfaceOSPolicyAssignment.RolloutOrBuilder- Returns:
- Whether the minWaitDuration field is set.
-
getMinWaitDuration
public com.google.protobuf.Duration getMinWaitDuration()Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMinWaitDurationin interfaceOSPolicyAssignment.RolloutOrBuilder- Returns:
- The minWaitDuration.
-
setMinWaitDuration
Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; -
setMinWaitDuration
public OSPolicyAssignment.Rollout.Builder setMinWaitDuration(com.google.protobuf.Duration.Builder builderForValue) Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeMinWaitDuration
Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearMinWaitDuration
Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; -
getMinWaitDurationBuilder
public com.google.protobuf.Duration.Builder getMinWaitDurationBuilder()Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED]; -
getMinWaitDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMinWaitDurationOrBuilder()Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMinWaitDurationOrBuilderin interfaceOSPolicyAssignment.RolloutOrBuilder
-