public static final class OSPolicyAssignment.Rollout.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignment.Rollout.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OSPolicyAssignment.Rollout build()
buildPartial()
public OSPolicyAssignment.Rollout buildPartial()
clear()
public OSPolicyAssignment.Rollout.Builder clear()
Overrides
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.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public OSPolicyAssignment.Rollout.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyAssignment.Rollout.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public OSPolicyAssignment.Rollout.Builder clone()
Overrides
getDefaultInstanceForType()
public OSPolicyAssignment.Rollout getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisruptionBudget()
public FixedOrPercent 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];
getDisruptionBudgetBuilder()
public FixedOrPercent.Builder 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()
public FixedOrPercentOrBuilder 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];
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDisruptionBudget(FixedOrPercent value)
public OSPolicyAssignment.Rollout.Builder mergeDisruptionBudget(FixedOrPercent value)
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];
mergeFrom(OSPolicyAssignment.Rollout other)
public OSPolicyAssignment.Rollout.Builder mergeFrom(OSPolicyAssignment.Rollout other)
public OSPolicyAssignment.Rollout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OSPolicyAssignment.Rollout.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignment.Rollout.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisruptionBudget(FixedOrPercent value)
public OSPolicyAssignment.Rollout.Builder setDisruptionBudget(FixedOrPercent value)
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(FixedOrPercent.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignment.Rollout.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyAssignment.Rollout.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignment.Rollout.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides