Package com.google.cloud.osconfig.v1
Interface OSPolicyAssignment.RolloutOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSPolicyAssignment.Rollout
,OSPolicyAssignment.Rollout.Builder
- Enclosing class:
- OSPolicyAssignment
public static interface OSPolicyAssignment.RolloutOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Common.FixedOrPercent
getDisruptionBudget()
Required.Common.FixedOrPercentOrBuilder
getDisruptionBudgetOrBuilder()
Required.com.google.protobuf.Duration
getMinWaitDuration()
Required.com.google.protobuf.DurationOrBuilder
getMinWaitDurationOrBuilder()
Required.boolean
hasDisruptionBudget()
Required.boolean
hasMinWaitDuration()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDisruptionBudget
boolean hasDisruptionBudget()
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the disruptionBudget field is set.
-
getDisruptionBudget
Common.FixedOrPercent getDisruptionBudget()
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The disruptionBudget.
-
getDisruptionBudgetOrBuilder
Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder()
Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasMinWaitDuration
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];
- Returns:
- Whether the minWaitDuration field is set.
-
getMinWaitDuration
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];
- Returns:
- The minWaitDuration.
-
getMinWaitDurationOrBuilder
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];
-
-