Class NodePoolAutoConfig.Builder (2.43.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.v1.NodePoolAutoConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodePoolAutoConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodePoolAutoConfig.Builder
Overrides

build()

public NodePoolAutoConfig build()
Returns
TypeDescription
NodePoolAutoConfig

buildPartial()

public NodePoolAutoConfig buildPartial()
Returns
TypeDescription
NodePoolAutoConfig

clear()

public NodePoolAutoConfig.Builder clear()
Returns
TypeDescription
NodePoolAutoConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NodePoolAutoConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
NodePoolAutoConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NodePoolAutoConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
NodePoolAutoConfig.Builder

clone()

public NodePoolAutoConfig.Builder clone()
Returns
TypeDescription
NodePoolAutoConfig.Builder
Overrides

getDefaultInstanceForType()

public NodePoolAutoConfig getDefaultInstanceForType()
Returns
TypeDescription
NodePoolAutoConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
NetworkTagsOrBuilder

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.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
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.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
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.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Returns
TypeDescription
boolean

Whether the networkTags 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.v1.ResourceManagerTags resource_manager_tags = 2;

Returns
TypeDescription
boolean

Whether the resourceManagerTags field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodePoolAutoConfig other)

public NodePoolAutoConfig.Builder mergeFrom(NodePoolAutoConfig other)
Parameter
NameDescription
otherNodePoolAutoConfig
Returns
TypeDescription
NodePoolAutoConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodePoolAutoConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePoolAutoConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodePoolAutoConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Parameter
NameDescription
valueNetworkTags
Returns
TypeDescription
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.v1.ResourceManagerTags resource_manager_tags = 2;

Parameter
NameDescription
valueResourceManagerTags
Returns
TypeDescription
NodePoolAutoConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodePoolAutoConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodePoolAutoConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NodePoolAutoConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Parameter
NameDescription
valueNetworkTags
Returns
TypeDescription
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.v1.NetworkTags network_tags = 1;

Parameter
NameDescription
builderForValueNetworkTags.Builder
Returns
TypeDescription
NodePoolAutoConfig.Builder

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

public NodePoolAutoConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.ResourceManagerTags resource_manager_tags = 2;

Parameter
NameDescription
valueResourceManagerTags
Returns
TypeDescription
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.v1.ResourceManagerTags resource_manager_tags = 2;

Parameter
NameDescription
builderForValueResourceManagerTags.Builder
Returns
TypeDescription
NodePoolAutoConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodePoolAutoConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodePoolAutoConfig.Builder
Overrides