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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodePoolAutoConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodePoolAutoConfig build()
Returns
buildPartial()
public NodePoolAutoConfig buildPartial()
Returns
clear()
public NodePoolAutoConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NodePoolAutoConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public NodePoolAutoConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NodePoolAutoConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NodePoolAutoConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
Type | Description |
boolean | Whether the networkTags field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodePoolAutoConfig other)
public NodePoolAutoConfig.Builder mergeFrom(NodePoolAutoConfig other)
Parameter
Returns
public NodePoolAutoConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodePoolAutoConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodePoolAutoConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NodePoolAutoConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodePoolAutoConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodePoolAutoConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides