- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class NodeNetworkConfig.Builder extends GeneratedMessageV3.Builder<NodeNetworkConfig.Builder> implements NodeNetworkConfigOrBuilder
Parameters for node pool-level network config.
Protobuf type google.container.v1.NodeNetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeNetworkConfig.BuilderImplements
NodeNetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeNetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
build()
public NodeNetworkConfig build()
Returns | |
---|---|
Type | Description |
NodeNetworkConfig |
buildPartial()
public NodeNetworkConfig buildPartial()
Returns | |
---|---|
Type | Description |
NodeNetworkConfig |
clear()
public NodeNetworkConfig.Builder clear()
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
clearCreatePodRange()
public NodeNetworkConfig.Builder clearCreatePodRange()
Input only. Whether to create a new range for pod IPs in this node pool.
Defaults are provided for pod_range
and pod_ipv4_cidr_block
if they
are not specified.
If neither create_pod_range
or pod_range
are specified, the
cluster-level default (ip_allocation_policy.cluster_ipv4_cidr_block
) is
used.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
clearEnablePrivateNodes()
public NodeNetworkConfig.Builder clearEnablePrivateNodes()
Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
optional bool enable_private_nodes = 9;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NodeNetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
clearNetworkPerformanceConfig()
public NodeNetworkConfig.Builder clearNetworkPerformanceConfig()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeNetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
clearPodCidrOverprovisionConfig()
public NodeNetworkConfig.Builder clearPodCidrOverprovisionConfig()
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
clearPodIpv4CidrBlock()
public NodeNetworkConfig.Builder clearPodIpv4CidrBlock()
The IP address range for pod IPs in this node pool.
Only applicable if create_pod_range
is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. /14
) to have a range chosen with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) to pick a specific range to use.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_ipv4_cidr_block = 6;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
clearPodRange()
public NodeNetworkConfig.Builder clearPodRange()
The ID of the secondary range for pod IPs.
If create_pod_range
is true, this ID is used for the new range.
If create_pod_range
is false, uses an existing secondary range with this
ID.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_range = 5;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
clone()
public NodeNetworkConfig.Builder clone()
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
getCreatePodRange()
public boolean getCreatePodRange()
Input only. Whether to create a new range for pod IPs in this node pool.
Defaults are provided for pod_range
and pod_ipv4_cidr_block
if they
are not specified.
If neither create_pod_range
or pod_range
are specified, the
cluster-level default (ip_allocation_policy.cluster_ipv4_cidr_block
) is
used.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The createPodRange. |
getDefaultInstanceForType()
public NodeNetworkConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NodeNetworkConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnablePrivateNodes()
public boolean getEnablePrivateNodes()
Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
optional bool enable_private_nodes = 9;
Returns | |
---|---|
Type | Description |
boolean | The enablePrivateNodes. |
getNetworkPerformanceConfig()
public NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.NetworkPerformanceConfig | The networkPerformanceConfig. |
getNetworkPerformanceConfigBuilder()
public NodeNetworkConfig.NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.NetworkPerformanceConfig.Builder |
getNetworkPerformanceConfigOrBuilder()
public NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.NetworkPerformanceConfigOrBuilder |
getPodCidrOverprovisionConfig()
public PodCIDROverprovisionConfig getPodCidrOverprovisionConfig()
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Returns | |
---|---|
Type | Description |
PodCIDROverprovisionConfig | The podCidrOverprovisionConfig. |
getPodCidrOverprovisionConfigBuilder()
public PodCIDROverprovisionConfig.Builder getPodCidrOverprovisionConfigBuilder()
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Returns | |
---|---|
Type | Description |
PodCIDROverprovisionConfig.Builder |
getPodCidrOverprovisionConfigOrBuilder()
public PodCIDROverprovisionConfigOrBuilder getPodCidrOverprovisionConfigOrBuilder()
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Returns | |
---|---|
Type | Description |
PodCIDROverprovisionConfigOrBuilder |
getPodIpv4CidrBlock()
public String getPodIpv4CidrBlock()
The IP address range for pod IPs in this node pool.
Only applicable if create_pod_range
is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. /14
) to have a range chosen with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) to pick a specific range to use.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_ipv4_cidr_block = 6;
Returns | |
---|---|
Type | Description |
String | The podIpv4CidrBlock. |
getPodIpv4CidrBlockBytes()
public ByteString getPodIpv4CidrBlockBytes()
The IP address range for pod IPs in this node pool.
Only applicable if create_pod_range
is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. /14
) to have a range chosen with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) to pick a specific range to use.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_ipv4_cidr_block = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for podIpv4CidrBlock. |
getPodRange()
public String getPodRange()
The ID of the secondary range for pod IPs.
If create_pod_range
is true, this ID is used for the new range.
If create_pod_range
is false, uses an existing secondary range with this
ID.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_range = 5;
Returns | |
---|---|
Type | Description |
String | The podRange. |
getPodRangeBytes()
public ByteString getPodRangeBytes()
The ID of the secondary range for pod IPs.
If create_pod_range
is true, this ID is used for the new range.
If create_pod_range
is false, uses an existing secondary range with this
ID.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_range = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for podRange. |
hasEnablePrivateNodes()
public boolean hasEnablePrivateNodes()
Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
optional bool enable_private_nodes = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the enablePrivateNodes field is set. |
hasNetworkPerformanceConfig()
public boolean hasNetworkPerformanceConfig()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the networkPerformanceConfig field is set. |
hasPodCidrOverprovisionConfig()
public boolean hasPodCidrOverprovisionConfig()
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Returns | |
---|---|
Type | Description |
boolean | Whether the podCidrOverprovisionConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NodeNetworkConfig other)
public NodeNetworkConfig.Builder mergeFrom(NodeNetworkConfig other)
Parameter | |
---|---|
Name | Description |
other | NodeNetworkConfig |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeNetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NodeNetworkConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
mergeNetworkPerformanceConfig(NodeNetworkConfig.NetworkPerformanceConfig value)
public NodeNetworkConfig.Builder mergeNetworkPerformanceConfig(NodeNetworkConfig.NetworkPerformanceConfig value)
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Parameter | |
---|---|
Name | Description |
value | NodeNetworkConfig.NetworkPerformanceConfig |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
mergePodCidrOverprovisionConfig(PodCIDROverprovisionConfig value)
public NodeNetworkConfig.Builder mergePodCidrOverprovisionConfig(PodCIDROverprovisionConfig value)
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Parameter | |
---|---|
Name | Description |
value | PodCIDROverprovisionConfig |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeNetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setCreatePodRange(boolean value)
public NodeNetworkConfig.Builder setCreatePodRange(boolean value)
Input only. Whether to create a new range for pod IPs in this node pool.
Defaults are provided for pod_range
and pod_ipv4_cidr_block
if they
are not specified.
If neither create_pod_range
or pod_range
are specified, the
cluster-level default (ip_allocation_policy.cluster_ipv4_cidr_block
) is
used.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | boolean The createPodRange to set. |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
setEnablePrivateNodes(boolean value)
public NodeNetworkConfig.Builder setEnablePrivateNodes(boolean value)
Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
optional bool enable_private_nodes = 9;
Parameter | |
---|---|
Name | Description |
value | boolean The enablePrivateNodes to set. |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setNetworkPerformanceConfig(NodeNetworkConfig.NetworkPerformanceConfig value)
public NodeNetworkConfig.Builder setNetworkPerformanceConfig(NodeNetworkConfig.NetworkPerformanceConfig value)
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Parameter | |
---|---|
Name | Description |
value | NodeNetworkConfig.NetworkPerformanceConfig |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setNetworkPerformanceConfig(NodeNetworkConfig.NetworkPerformanceConfig.Builder builderForValue)
public NodeNetworkConfig.Builder setNetworkPerformanceConfig(NodeNetworkConfig.NetworkPerformanceConfig.Builder builderForValue)
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Parameter | |
---|---|
Name | Description |
builderForValue | NodeNetworkConfig.NetworkPerformanceConfig.Builder |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setPodCidrOverprovisionConfig(PodCIDROverprovisionConfig value)
public NodeNetworkConfig.Builder setPodCidrOverprovisionConfig(PodCIDROverprovisionConfig value)
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Parameter | |
---|---|
Name | Description |
value | PodCIDROverprovisionConfig |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setPodCidrOverprovisionConfig(PodCIDROverprovisionConfig.Builder builderForValue)
public NodeNetworkConfig.Builder setPodCidrOverprovisionConfig(PodCIDROverprovisionConfig.Builder builderForValue)
[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.
.google.container.v1.PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13;
Parameter | |
---|---|
Name | Description |
builderForValue | PodCIDROverprovisionConfig.Builder |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setPodIpv4CidrBlock(String value)
public NodeNetworkConfig.Builder setPodIpv4CidrBlock(String value)
The IP address range for pod IPs in this node pool.
Only applicable if create_pod_range
is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. /14
) to have a range chosen with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) to pick a specific range to use.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_ipv4_cidr_block = 6;
Parameter | |
---|---|
Name | Description |
value | String The podIpv4CidrBlock to set. |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
setPodIpv4CidrBlockBytes(ByteString value)
public NodeNetworkConfig.Builder setPodIpv4CidrBlockBytes(ByteString value)
The IP address range for pod IPs in this node pool.
Only applicable if create_pod_range
is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. /14
) to have a range chosen with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) to pick a specific range to use.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_ipv4_cidr_block = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for podIpv4CidrBlock to set. |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
setPodRange(String value)
public NodeNetworkConfig.Builder setPodRange(String value)
The ID of the secondary range for pod IPs.
If create_pod_range
is true, this ID is used for the new range.
If create_pod_range
is false, uses an existing secondary range with this
ID.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_range = 5;
Parameter | |
---|---|
Name | Description |
value | String The podRange to set. |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
setPodRangeBytes(ByteString value)
public NodeNetworkConfig.Builder setPodRangeBytes(ByteString value)
The ID of the secondary range for pod IPs.
If create_pod_range
is true, this ID is used for the new range.
If create_pod_range
is false, uses an existing secondary range with this
ID.
Only applicable if ip_allocation_policy.use_ip_aliases
is true.
This field cannot be changed after the node pool has been created.
string pod_range = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for podRange to set. |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeNetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeNetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeNetworkConfig.Builder |