Class AdditionalPodNetworkConfig (2.26.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
TypeDescription
int

SECONDARY_POD_RANGE_FIELD_NUMBER

public static final int SECONDARY_POD_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdditionalPodNetworkConfig getDefaultInstance()
Returns
TypeDescription
AdditionalPodNetworkConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AdditionalPodNetworkConfig prototype)

public static AdditionalPodNetworkConfig.Builder newBuilder(AdditionalPodNetworkConfig prototype)
Parameter
NameDescription
prototypeAdditionalPodNetworkConfig
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AdditionalPodNetworkConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MaxPodsConstraintOrBuilder

getParserForType()

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

The bytes for secondaryPodRange.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork where the additional pod network belongs

string subnetwork = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the maxPodsPerNode field is set.

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 AdditionalPodNetworkConfig.Builder newBuilderForType()
Returns
TypeDescription
AdditionalPodNetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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