Class AdditionalIPRangesConfig (2.73.0)

public final class AdditionalIPRangesConfig extends GeneratedMessageV3 implements AdditionalIPRangesConfigOrBuilder

AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster

Protobuf type google.container.v1.AdditionalIPRangesConfig

Static Fields

POD_IPV4_RANGE_NAMES_FIELD_NUMBER

public static final int POD_IPV4_RANGE_NAMES_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 AdditionalIPRangesConfig getDefaultInstance()
Returns
Type Description
AdditionalIPRangesConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AdditionalIPRangesConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AdditionalIPRangesConfig getDefaultInstanceForType()
Returns
Type Description
AdditionalIPRangesConfig

getParserForType()

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

getPodIpv4RangeNames(int index)

public String getPodIpv4RangeNames(int index)

List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2

repeated string pod_ipv4_range_names = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The podIpv4RangeNames at the given index.

getPodIpv4RangeNamesBytes(int index)

public ByteString getPodIpv4RangeNamesBytes(int index)

List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2

repeated string pod_ipv4_range_names = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the podIpv4RangeNames at the given index.

getPodIpv4RangeNamesCount()

public int getPodIpv4RangeNamesCount()

List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2

repeated string pod_ipv4_range_names = 2;

Returns
Type Description
int

The count of podIpv4RangeNames.

getPodIpv4RangeNamesList()

public ProtocolStringList getPodIpv4RangeNamesList()

List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2

repeated string pod_ipv4_range_names = 2;

Returns
Type Description
ProtocolStringList

A list containing the podIpv4RangeNames.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubnetwork()

public String getSubnetwork()

Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet

string subnetwork = 1;

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet

string subnetwork = 1;

Returns
Type Description
ByteString

The bytes for subnetwork.

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 AdditionalIPRangesConfig.Builder newBuilderForType()
Returns
Type Description
AdditionalIPRangesConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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