Class GkeAutoUpgradeConfig.Builder (2.86.0)

public static final class GkeAutoUpgradeConfig.Builder extends GeneratedMessage.Builder<GkeAutoUpgradeConfig.Builder> implements GkeAutoUpgradeConfigOrBuilder

GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.

Protobuf type google.container.v1beta1.GkeAutoUpgradeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GkeAutoUpgradeConfig build()
Returns
Type Description
GkeAutoUpgradeConfig

buildPartial()

public GkeAutoUpgradeConfig buildPartial()
Returns
Type Description
GkeAutoUpgradeConfig

clear()

public GkeAutoUpgradeConfig.Builder clear()
Returns
Type Description
GkeAutoUpgradeConfig.Builder
Overrides

clearPatchMode()

public GkeAutoUpgradeConfig.Builder clearPatchMode()

PatchMode specifies how auto upgrade patch builds should be selected.

.google.container.v1beta1.GkeAutoUpgradeConfig.PatchMode patch_mode = 1;

Returns
Type Description
GkeAutoUpgradeConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public GkeAutoUpgradeConfig getDefaultInstanceForType()
Returns
Type Description
GkeAutoUpgradeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPatchMode()

public GkeAutoUpgradeConfig.PatchMode getPatchMode()

PatchMode specifies how auto upgrade patch builds should be selected.

.google.container.v1beta1.GkeAutoUpgradeConfig.PatchMode patch_mode = 1;

Returns
Type Description
GkeAutoUpgradeConfig.PatchMode

The patchMode.

getPatchModeValue()

public int getPatchModeValue()

PatchMode specifies how auto upgrade patch builds should be selected.

.google.container.v1beta1.GkeAutoUpgradeConfig.PatchMode patch_mode = 1;

Returns
Type Description
int

The enum numeric value on the wire for patchMode.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GkeAutoUpgradeConfig other)

public GkeAutoUpgradeConfig.Builder mergeFrom(GkeAutoUpgradeConfig other)
Parameter
Name Description
other GkeAutoUpgradeConfig
Returns
Type Description
GkeAutoUpgradeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GkeAutoUpgradeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkeAutoUpgradeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GkeAutoUpgradeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GkeAutoUpgradeConfig.Builder
Overrides

setPatchMode(GkeAutoUpgradeConfig.PatchMode value)

public GkeAutoUpgradeConfig.Builder setPatchMode(GkeAutoUpgradeConfig.PatchMode value)

PatchMode specifies how auto upgrade patch builds should be selected.

.google.container.v1beta1.GkeAutoUpgradeConfig.PatchMode patch_mode = 1;

Parameter
Name Description
value GkeAutoUpgradeConfig.PatchMode

The patchMode to set.

Returns
Type Description
GkeAutoUpgradeConfig.Builder

This builder for chaining.

setPatchModeValue(int value)

public GkeAutoUpgradeConfig.Builder setPatchModeValue(int value)

PatchMode specifies how auto upgrade patch builds should be selected.

.google.container.v1beta1.GkeAutoUpgradeConfig.PatchMode patch_mode = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for patchMode to set.

Returns
Type Description
GkeAutoUpgradeConfig.Builder

This builder for chaining.