Class NodePoolAutoConfig (2.49.0)

public final class NodePoolAutoConfig extends GeneratedMessageV3 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 Fields

NETWORK_TAGS_FIELD_NUMBER

public static final int NETWORK_TAGS_FIELD_NUMBER
Field Value
Type Description
int

NODE_KUBELET_CONFIG_FIELD_NUMBER

public static final int NODE_KUBELET_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_MANAGER_TAGS_FIELD_NUMBER

public static final int RESOURCE_MANAGER_TAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NodePoolAutoConfig getDefaultInstance()
Returns
Type Description
NodePoolAutoConfig

getDescriptor()

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

newBuilder()

public static NodePoolAutoConfig.Builder newBuilder()
Returns
Type Description
NodePoolAutoConfig.Builder

newBuilder(NodePoolAutoConfig prototype)

public static NodePoolAutoConfig.Builder newBuilder(NodePoolAutoConfig prototype)
Parameter
Name Description
prototype NodePoolAutoConfig
Returns
Type Description
NodePoolAutoConfig.Builder

parseDelimitedFrom(InputStream input)

public static NodePoolAutoConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePoolAutoConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NodePoolAutoConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodePoolAutoConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodePoolAutoConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodePoolAutoConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodePoolAutoConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePoolAutoConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NodePoolAutoConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePoolAutoConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NodePoolAutoConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodePoolAutoConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePoolAutoConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NodePoolAutoConfig> parser()
Returns
Type Description
Parser<NodePoolAutoConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NodePoolAutoConfig getDefaultInstanceForType()
Returns
Type Description
NodePoolAutoConfig

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.

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.

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

getParserForType()

public Parser<NodePoolAutoConfig> getParserForType()
Returns
Type Description
Parser<NodePoolAutoConfig>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NodePoolAutoConfig.Builder newBuilderForType()
Returns
Type Description
NodePoolAutoConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodePoolAutoConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodePoolAutoConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NodePoolAutoConfig.Builder toBuilder()
Returns
Type Description
NodePoolAutoConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException