Class RollbackSafeUpgrade.Builder (2.98.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class RollbackSafeUpgrade.Builder extends GeneratedMessage.Builder<RollbackSafeUpgrade.Builder> implements RollbackSafeUpgradeOrBuilder
RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
Protobuf type google.container.v1beta1.RollbackSafeUpgrade
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public RollbackSafeUpgrade build()
buildPartial()
public RollbackSafeUpgrade buildPartial()
clear()
public RollbackSafeUpgrade.Builder clear()
Overrides
clearControlPlaneSoakDuration()
public RollbackSafeUpgrade.Builder clearControlPlaneSoakDuration()
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
getControlPlaneSoakDuration()
public Duration getControlPlaneSoakDuration()
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
| Returns |
| Type |
Description |
Duration |
The controlPlaneSoakDuration.
|
getControlPlaneSoakDurationBuilder()
public Duration.Builder getControlPlaneSoakDurationBuilder()
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
getControlPlaneSoakDurationOrBuilder()
public DurationOrBuilder getControlPlaneSoakDurationOrBuilder()
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
getDefaultInstanceForType()
public RollbackSafeUpgrade getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasControlPlaneSoakDuration()
public boolean hasControlPlaneSoakDuration()
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
| Returns |
| Type |
Description |
boolean |
Whether the controlPlaneSoakDuration field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeControlPlaneSoakDuration(Duration value)
public RollbackSafeUpgrade.Builder mergeControlPlaneSoakDuration(Duration value)
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
| Parameter |
| Name |
Description |
value |
Duration
|
mergeFrom(RollbackSafeUpgrade other)
public RollbackSafeUpgrade.Builder mergeFrom(RollbackSafeUpgrade other)
public RollbackSafeUpgrade.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RollbackSafeUpgrade.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setControlPlaneSoakDuration(Duration value)
public RollbackSafeUpgrade.Builder setControlPlaneSoakDuration(Duration value)
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
| Parameter |
| Name |
Description |
value |
Duration
|
setControlPlaneSoakDuration(Duration.Builder builderForValue)
public RollbackSafeUpgrade.Builder setControlPlaneSoakDuration(Duration.Builder builderForValue)
A user-defined period for the cluster remains in the rollbackable state.
ex: {seconds: 21600}.
.google.protobuf.Duration control_plane_soak_duration = 1;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]