public static final class OSPolicyAssignment.Rollout.Builder extends GeneratedMessage.Builder<OSPolicyAssignment.Rollout.Builder> implements OSPolicyAssignment.RolloutOrBuilderMessage to configure the rollout at the zonal level for the OS policy assignment.
Protobuf type google.cloud.osconfig.v1.OSPolicyAssignment.Rollout
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OSPolicyAssignment.Rollout.BuilderImplements
OSPolicyAssignment.RolloutOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OSPolicyAssignment.Rollout build()| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout |
|
buildPartial()
public OSPolicyAssignment.Rollout buildPartial()| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout |
|
clear()
public OSPolicyAssignment.Rollout.Builder clear()| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
clearDisruptionBudget()
public OSPolicyAssignment.Rollout.Builder clearDisruptionBudget()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 | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
clearMinWaitDuration()
public OSPolicyAssignment.Rollout.Builder 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];
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
getDefaultInstanceForType()
public OSPolicyAssignment.Rollout getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisruptionBudget()
public 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 | |
|---|---|
| Type | Description |
Common.FixedOrPercent |
The disruptionBudget. |
getDisruptionBudgetBuilder()
public Common.FixedOrPercent.Builder getDisruptionBudgetBuilder()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 | |
|---|---|
| Type | Description |
Common.FixedOrPercent.Builder |
|
getDisruptionBudgetOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Common.FixedOrPercentOrBuilder |
|
getMinWaitDuration()
public 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 | |
|---|---|
| Type | Description |
Duration |
The minWaitDuration. |
getMinWaitDurationBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getMinWaitDurationOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasDisruptionBudget()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the disruptionBudget field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minWaitDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDisruptionBudget(Common.FixedOrPercent value)
public OSPolicyAssignment.Rollout.Builder mergeDisruptionBudget(Common.FixedOrPercent value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Common.FixedOrPercent |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
mergeFrom(OSPolicyAssignment.Rollout other)
public OSPolicyAssignment.Rollout.Builder mergeFrom(OSPolicyAssignment.Rollout other)| Parameter | |
|---|---|
| Name | Description |
other |
OSPolicyAssignment.Rollout |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyAssignment.Rollout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OSPolicyAssignment.Rollout.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
mergeMinWaitDuration(Duration value)
public OSPolicyAssignment.Rollout.Builder mergeMinWaitDuration(Duration value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
setDisruptionBudget(Common.FixedOrPercent value)
public OSPolicyAssignment.Rollout.Builder setDisruptionBudget(Common.FixedOrPercent value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Common.FixedOrPercent |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
setDisruptionBudget(Common.FixedOrPercent.Builder builderForValue)
public OSPolicyAssignment.Rollout.Builder setDisruptionBudget(Common.FixedOrPercent.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Common.FixedOrPercent.Builder |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
setMinWaitDuration(Duration value)
public OSPolicyAssignment.Rollout.Builder setMinWaitDuration(Duration value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|
setMinWaitDuration(Duration.Builder builderForValue)
public OSPolicyAssignment.Rollout.Builder setMinWaitDuration(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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
OSPolicyAssignment.Rollout.Builder |
|