Class NodeNetworkConfig (2.4.1)

public final class NodeNetworkConfig extends GeneratedMessageV3 implements NodeNetworkConfigOrBuilder

Parameters for node pool-level network config.

Protobuf type google.container.v1beta1.NodeNetworkConfig

Static Fields

CREATE_POD_RANGE_FIELD_NUMBER

public static final int CREATE_POD_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

POD_IPV4_CIDR_BLOCK_FIELD_NUMBER

public static final int POD_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
TypeDescription
int

POD_RANGE_FIELD_NUMBER

public static final int POD_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeNetworkConfig getDefaultInstance()
Returns
TypeDescription
NodeNetworkConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NodeNetworkConfig.Builder newBuilder()
Returns
TypeDescription
NodeNetworkConfig.Builder

newBuilder(NodeNetworkConfig prototype)

public static NodeNetworkConfig.Builder newBuilder(NodeNetworkConfig prototype)
Parameter
NameDescription
prototypeNodeNetworkConfig
Returns
TypeDescription
NodeNetworkConfig.Builder

parseDelimitedFrom(InputStream input)

public static NodeNetworkConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeNetworkConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeNetworkConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeNetworkConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeNetworkConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeNetworkConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeNetworkConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeNetworkConfig> parser()
Returns
TypeDescription
Parser<NodeNetworkConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
boolean

The createPodRange.

getDefaultInstanceForType()

public NodeNetworkConfig getDefaultInstanceForType()
Returns
TypeDescription
NodeNetworkConfig

getParserForType()

public Parser<NodeNetworkConfig> getParserForType()
Returns
TypeDescription
Parser<NodeNetworkConfig>
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for podRange.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeNetworkConfig.Builder newBuilderForType()
Returns
TypeDescription
NodeNetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeNetworkConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeNetworkConfig.Builder toBuilder()
Returns
TypeDescription
NodeNetworkConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException