Class NodePoolAutoConfig.Builder (2.55.0)

public static final class NodePoolAutoConfig.Builder extends GeneratedMessageV3.Builder<NodePoolAutoConfig.Builder> implements NodePoolAutoConfigOrBuilder

node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters

Protobuf type google.container.v1beta1.NodePoolAutoConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePoolAutoConfig build()
Returns
Type Description
NodePoolAutoConfig

buildPartial()

public NodePoolAutoConfig buildPartial()
Returns
Type Description
NodePoolAutoConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkTags()

public NodePoolAutoConfig.Builder clearNetworkTags()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Returns
Type Description
NodePoolAutoConfig.Builder

clearNodeKubeletConfig()

public NodePoolAutoConfig.Builder clearNodeKubeletConfig()

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Returns
Type Description
NodePoolAutoConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceManagerTags()

public NodePoolAutoConfig.Builder clearResourceManagerTags()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Returns
Type Description
NodePoolAutoConfig.Builder

clone()

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

getDefaultInstanceForType()

public NodePoolAutoConfig getDefaultInstanceForType()
Returns
Type Description
NodePoolAutoConfig

getDescriptorForType()

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

getNetworkTags()

public NetworkTags getNetworkTags()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Returns
Type Description
NetworkTags

The networkTags.

getNetworkTagsBuilder()

public NetworkTags.Builder getNetworkTagsBuilder()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Returns
Type Description
NetworkTags.Builder

getNetworkTagsOrBuilder()

public NetworkTagsOrBuilder getNetworkTagsOrBuilder()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Returns
Type Description
NetworkTagsOrBuilder

getNodeKubeletConfig()

public NodeKubeletConfig getNodeKubeletConfig()

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Returns
Type Description
NodeKubeletConfig

The nodeKubeletConfig.

getNodeKubeletConfigBuilder()

public NodeKubeletConfig.Builder getNodeKubeletConfigBuilder()

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Returns
Type Description
NodeKubeletConfig.Builder

getNodeKubeletConfigOrBuilder()

public NodeKubeletConfigOrBuilder getNodeKubeletConfigOrBuilder()

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Returns
Type Description
NodeKubeletConfigOrBuilder

getResourceManagerTags()

public ResourceManagerTags getResourceManagerTags()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Returns
Type Description
ResourceManagerTags

The resourceManagerTags.

getResourceManagerTagsBuilder()

public ResourceManagerTags.Builder getResourceManagerTagsBuilder()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Returns
Type Description
ResourceManagerTags.Builder

getResourceManagerTagsOrBuilder()

public ResourceManagerTagsOrBuilder getResourceManagerTagsOrBuilder()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Returns
Type Description
ResourceManagerTagsOrBuilder

hasNetworkTags()

public boolean hasNetworkTags()

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Returns
Type Description
boolean

Whether the networkTags field is set.

hasNodeKubeletConfig()

public boolean hasNodeKubeletConfig()

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Returns
Type Description
boolean

Whether the nodeKubeletConfig field is set.

hasResourceManagerTags()

public boolean hasResourceManagerTags()

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Returns
Type Description
boolean

Whether the resourceManagerTags field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePoolAutoConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetworkTags(NetworkTags value)

public NodePoolAutoConfig.Builder mergeNetworkTags(NetworkTags value)

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Parameter
Name Description
value NetworkTags
Returns
Type Description
NodePoolAutoConfig.Builder

mergeNodeKubeletConfig(NodeKubeletConfig value)

public NodePoolAutoConfig.Builder mergeNodeKubeletConfig(NodeKubeletConfig value)

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Parameter
Name Description
value NodeKubeletConfig
Returns
Type Description
NodePoolAutoConfig.Builder

mergeResourceManagerTags(ResourceManagerTags value)

public NodePoolAutoConfig.Builder mergeResourceManagerTags(ResourceManagerTags value)

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Parameter
Name Description
value ResourceManagerTags
Returns
Type Description
NodePoolAutoConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkTags(NetworkTags value)

public NodePoolAutoConfig.Builder setNetworkTags(NetworkTags value)

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Parameter
Name Description
value NetworkTags
Returns
Type Description
NodePoolAutoConfig.Builder

setNetworkTags(NetworkTags.Builder builderForValue)

public NodePoolAutoConfig.Builder setNetworkTags(NetworkTags.Builder builderForValue)

The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

.google.container.v1beta1.NetworkTags network_tags = 1;

Parameter
Name Description
builderForValue NetworkTags.Builder
Returns
Type Description
NodePoolAutoConfig.Builder

setNodeKubeletConfig(NodeKubeletConfig value)

public NodePoolAutoConfig.Builder setNodeKubeletConfig(NodeKubeletConfig value)

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

Parameter
Name Description
value NodeKubeletConfig
Returns
Type Description
NodePoolAutoConfig.Builder

setNodeKubeletConfig(NodeKubeletConfig.Builder builderForValue)

public NodePoolAutoConfig.Builder setNodeKubeletConfig(NodeKubeletConfig.Builder builderForValue)

NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

Currently only insecure_kubelet_readonly_port_enabled can be set here.

.google.container.v1beta1.NodeKubeletConfig node_kubelet_config = 3;

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

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

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

setResourceManagerTags(ResourceManagerTags value)

public NodePoolAutoConfig.Builder setResourceManagerTags(ResourceManagerTags value)

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Parameter
Name Description
value ResourceManagerTags
Returns
Type Description
NodePoolAutoConfig.Builder

setResourceManagerTags(ResourceManagerTags.Builder builderForValue)

public NodePoolAutoConfig.Builder setResourceManagerTags(ResourceManagerTags.Builder builderForValue)

Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 2;

Parameter
Name Description
builderForValue ResourceManagerTags.Builder
Returns
Type Description
NodePoolAutoConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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