Class NodeConfigDefaults.Builder (2.52.0)

public static final class NodeConfigDefaults.Builder extends GeneratedMessageV3.Builder<NodeConfigDefaults.Builder> implements NodeConfigDefaultsOrBuilder

Subset of NodeConfig message that has defaults.

Protobuf type google.container.v1.NodeConfigDefaults

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeConfigDefaults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

build()

public NodeConfigDefaults build()
Returns
Type Description
NodeConfigDefaults

buildPartial()

public NodeConfigDefaults buildPartial()
Returns
Type Description
NodeConfigDefaults

clear()

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

clearContainerdConfig()

public NodeConfigDefaults.Builder clearContainerdConfig()

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Returns
Type Description
NodeConfigDefaults.Builder

clearField(Descriptors.FieldDescriptor field)

public NodeConfigDefaults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

clearGcfsConfig()

public NodeConfigDefaults.Builder clearGcfsConfig()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Returns
Type Description
NodeConfigDefaults.Builder

clearLoggingConfig()

public NodeConfigDefaults.Builder clearLoggingConfig()

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
NodeConfigDefaults.Builder

clearNodeKubeletConfig()

public NodeConfigDefaults.Builder clearNodeKubeletConfig()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
NodeConfigDefaults.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeConfigDefaults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

clone()

public NodeConfigDefaults.Builder clone()
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

getContainerdConfig()

public ContainerdConfig getContainerdConfig()

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Returns
Type Description
ContainerdConfig

The containerdConfig.

getContainerdConfigBuilder()

public ContainerdConfig.Builder getContainerdConfigBuilder()

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Returns
Type Description
ContainerdConfig.Builder

getContainerdConfigOrBuilder()

public ContainerdConfigOrBuilder getContainerdConfigOrBuilder()

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Returns
Type Description
ContainerdConfigOrBuilder

getDefaultInstanceForType()

public NodeConfigDefaults getDefaultInstanceForType()
Returns
Type Description
NodeConfigDefaults

getDescriptorForType()

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

getGcfsConfig()

public GcfsConfig getGcfsConfig()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Returns
Type Description
GcfsConfig

The gcfsConfig.

getGcfsConfigBuilder()

public GcfsConfig.Builder getGcfsConfigBuilder()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Returns
Type Description
GcfsConfig.Builder

getGcfsConfigOrBuilder()

public GcfsConfigOrBuilder getGcfsConfigOrBuilder()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Returns
Type Description
GcfsConfigOrBuilder

getLoggingConfig()

public NodePoolLoggingConfig getLoggingConfig()

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
NodePoolLoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public NodePoolLoggingConfig.Builder getLoggingConfigBuilder()

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
NodePoolLoggingConfig.Builder

getLoggingConfigOrBuilder()

public NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
NodePoolLoggingConfigOrBuilder

getNodeKubeletConfig()

public NodeKubeletConfig getNodeKubeletConfig()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
NodeKubeletConfig

The nodeKubeletConfig.

getNodeKubeletConfigBuilder()

public NodeKubeletConfig.Builder getNodeKubeletConfigBuilder()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
NodeKubeletConfig.Builder

getNodeKubeletConfigOrBuilder()

public NodeKubeletConfigOrBuilder getNodeKubeletConfigOrBuilder()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
NodeKubeletConfigOrBuilder

hasContainerdConfig()

public boolean hasContainerdConfig()

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Returns
Type Description
boolean

Whether the containerdConfig field is set.

hasGcfsConfig()

public boolean hasGcfsConfig()

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Returns
Type Description
boolean

Whether the gcfsConfig field is set.

hasLoggingConfig()

public boolean hasLoggingConfig()

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasNodeKubeletConfig()

public boolean hasNodeKubeletConfig()

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Returns
Type Description
boolean

Whether the nodeKubeletConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContainerdConfig(ContainerdConfig value)

public NodeConfigDefaults.Builder mergeContainerdConfig(ContainerdConfig value)

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Parameter
Name Description
value ContainerdConfig
Returns
Type Description
NodeConfigDefaults.Builder

mergeFrom(NodeConfigDefaults other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcfsConfig(GcfsConfig value)

public NodeConfigDefaults.Builder mergeGcfsConfig(GcfsConfig value)

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Parameter
Name Description
value GcfsConfig
Returns
Type Description
NodeConfigDefaults.Builder

mergeLoggingConfig(NodePoolLoggingConfig value)

public NodeConfigDefaults.Builder mergeLoggingConfig(NodePoolLoggingConfig value)

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Parameter
Name Description
value NodePoolLoggingConfig
Returns
Type Description
NodeConfigDefaults.Builder

mergeNodeKubeletConfig(NodeKubeletConfig value)

public NodeConfigDefaults.Builder mergeNodeKubeletConfig(NodeKubeletConfig value)

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Parameter
Name Description
value NodeKubeletConfig
Returns
Type Description
NodeConfigDefaults.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeConfigDefaults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

setContainerdConfig(ContainerdConfig value)

public NodeConfigDefaults.Builder setContainerdConfig(ContainerdConfig value)

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Parameter
Name Description
value ContainerdConfig
Returns
Type Description
NodeConfigDefaults.Builder

setContainerdConfig(ContainerdConfig.Builder builderForValue)

public NodeConfigDefaults.Builder setContainerdConfig(ContainerdConfig.Builder builderForValue)

Parameters for containerd customization.

.google.container.v1.ContainerdConfig containerd_config = 4;

Parameter
Name Description
builderForValue ContainerdConfig.Builder
Returns
Type Description
NodeConfigDefaults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodeConfigDefaults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

setGcfsConfig(GcfsConfig value)

public NodeConfigDefaults.Builder setGcfsConfig(GcfsConfig value)

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Parameter
Name Description
value GcfsConfig
Returns
Type Description
NodeConfigDefaults.Builder

setGcfsConfig(GcfsConfig.Builder builderForValue)

public NodeConfigDefaults.Builder setGcfsConfig(GcfsConfig.Builder builderForValue)

GCFS (Google Container File System, also known as Riptide) options.

.google.container.v1.GcfsConfig gcfs_config = 1;

Parameter
Name Description
builderForValue GcfsConfig.Builder
Returns
Type Description
NodeConfigDefaults.Builder

setLoggingConfig(NodePoolLoggingConfig value)

public NodeConfigDefaults.Builder setLoggingConfig(NodePoolLoggingConfig value)

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Parameter
Name Description
value NodePoolLoggingConfig
Returns
Type Description
NodeConfigDefaults.Builder

setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

public NodeConfigDefaults.Builder setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

Logging configuration for node pools.

.google.container.v1.NodePoolLoggingConfig logging_config = 3;

Parameter
Name Description
builderForValue NodePoolLoggingConfig.Builder
Returns
Type Description
NodeConfigDefaults.Builder

setNodeKubeletConfig(NodeKubeletConfig value)

public NodeConfigDefaults.Builder setNodeKubeletConfig(NodeKubeletConfig value)

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Parameter
Name Description
value NodeKubeletConfig
Returns
Type Description
NodeConfigDefaults.Builder

setNodeKubeletConfig(NodeKubeletConfig.Builder builderForValue)

public NodeConfigDefaults.Builder setNodeKubeletConfig(NodeKubeletConfig.Builder builderForValue)

NodeKubeletConfig controls the defaults for new node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1.NodeKubeletConfig node_kubelet_config = 6;

Parameter
Name Description
builderForValue NodeKubeletConfig.Builder
Returns
Type Description
NodeConfigDefaults.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeConfigDefaults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodeConfigDefaults.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeConfigDefaults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeConfigDefaults.Builder
Overrides