public final class NodeNetworkConfig extends GeneratedMessageV3 implements NodeNetworkConfigOrBuilder
Parameters for node pool-level network config.
Protobuf type google.container.v1.NodeNetworkConfig
Static Fields
CREATE_POD_RANGE_FIELD_NUMBER
public static final int CREATE_POD_RANGE_FIELD_NUMBER
Field Value
ENABLE_PRIVATE_NODES_FIELD_NUMBER
public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER
Field Value
public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER
Field Value
POD_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int POD_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
POD_RANGE_FIELD_NUMBER
public static final int POD_RANGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodeNetworkConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodeNetworkConfig.Builder newBuilder()
Returns
newBuilder(NodeNetworkConfig prototype)
public static NodeNetworkConfig.Builder newBuilder(NodeNetworkConfig prototype)
Parameter
Returns
public static NodeNetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeNetworkConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeNetworkConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeNetworkConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodeNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeNetworkConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeNetworkConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeNetworkConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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.
|
public NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns
public NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
Network bandwidth tier configuration.
optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11;
Returns
getParserForType()
public Parser<NodeNetworkConfig> getParserForType()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodeNetworkConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodeNetworkConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions