public static final class NodeNetworkConfig.Builder extends GeneratedMessageV3.Builder<NodeNetworkConfig.Builder> implements NodeNetworkConfigOrBuilder
Parameters for node pool-level network config.
Protobuf type google.container.v1beta1.NodeNetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeNetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeNetworkConfig build()
Returns
buildPartial()
public NodeNetworkConfig buildPartial()
Returns
clear()
public NodeNetworkConfig.Builder clear()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public NodeNetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeNetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
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
clone()
public NodeNetworkConfig.Builder clone()
Returns
Overrides
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeNetworkConfig other)
public NodeNetworkConfig.Builder mergeFrom(NodeNetworkConfig other)
Parameter
Returns
public NodeNetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeNetworkConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeNetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
setField(Descriptors.FieldDescriptor field, Object value)
public NodeNetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeNetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeNetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides