Class NodePoolAutoConfig.Builder (2.5.1)

Stay organized with collections Save and categorize content based on your preferences.
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

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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