Class AdditionalPodNetworkConfig (2.47.0)

public final class AdditionalPodNetworkConfig extends GeneratedMessageV3 implements AdditionalPodNetworkConfigOrBuilder

AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message

Protobuf type google.container.v1beta1.AdditionalPodNetworkConfig

Static Fields

MAX_PODS_PER_NODE_FIELD_NUMBER

public static final int MAX_PODS_PER_NODE_FIELD_NUMBER
Field Value
Type Description
int

SECONDARY_POD_RANGE_FIELD_NUMBER

public static final int SECONDARY_POD_RANGE_FIELD_NUMBER
Field Value
Type Description
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AdditionalPodNetworkConfig getDefaultInstance()
Returns
Type Description
AdditionalPodNetworkConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AdditionalPodNetworkConfig.Builder newBuilder()
Returns
Type Description
AdditionalPodNetworkConfig.Builder

newBuilder(AdditionalPodNetworkConfig prototype)

public static AdditionalPodNetworkConfig.Builder newBuilder(AdditionalPodNetworkConfig prototype)
Parameter
Name Description
prototype AdditionalPodNetworkConfig
Returns
Type Description
AdditionalPodNetworkConfig.Builder

parseDelimitedFrom(InputStream input)

public static AdditionalPodNetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdditionalPodNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AdditionalPodNetworkConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AdditionalPodNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AdditionalPodNetworkConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AdditionalPodNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AdditionalPodNetworkConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AdditionalPodNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AdditionalPodNetworkConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdditionalPodNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AdditionalPodNetworkConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AdditionalPodNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdditionalPodNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AdditionalPodNetworkConfig> parser()
Returns
Type Description
Parser<AdditionalPodNetworkConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AdditionalPodNetworkConfig getDefaultInstanceForType()
Returns
Type Description
AdditionalPodNetworkConfig

getMaxPodsPerNode()

public MaxPodsConstraint getMaxPodsPerNode()

The maximum number of pods per node which use this pod network

optional .google.container.v1beta1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
MaxPodsConstraint

The maxPodsPerNode.

getMaxPodsPerNodeOrBuilder()

public MaxPodsConstraintOrBuilder getMaxPodsPerNodeOrBuilder()

The maximum number of pods per node which use this pod network

optional .google.container.v1beta1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
MaxPodsConstraintOrBuilder

getParserForType()

public Parser<AdditionalPodNetworkConfig> getParserForType()
Returns
Type Description
Parser<AdditionalPodNetworkConfig>
Overrides

getSecondaryPodRange()

public String getSecondaryPodRange()

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Returns
Type Description
String

The secondaryPodRange.

getSecondaryPodRangeBytes()

public ByteString getSecondaryPodRangeBytes()

The name of the secondary range on the subnet which provides IP address for this pod range

string secondary_pod_range = 2;

Returns
Type Description
ByteString

The bytes for secondaryPodRange.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
Type Description
ByteString

The bytes for subnetwork.

hasMaxPodsPerNode()

public boolean hasMaxPodsPerNode()

The maximum number of pods per node which use this pod network

optional .google.container.v1beta1.MaxPodsConstraint max_pods_per_node = 3;

Returns
Type Description
boolean

Whether the maxPodsPerNode field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AdditionalPodNetworkConfig.Builder newBuilderForType()
Returns
Type Description
AdditionalPodNetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AdditionalPodNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AdditionalPodNetworkConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AdditionalPodNetworkConfig.Builder toBuilder()
Returns
Type Description
AdditionalPodNetworkConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException