Class ClusterNetworking (0.39.0)

public final class ClusterNetworking extends GeneratedMessageV3 implements ClusterNetworkingOrBuilder

Cluster-wide networking configuration.

Protobuf type google.cloud.edgecontainer.v1.ClusterNetworking

Static Fields

CLUSTER_IPV4_CIDR_BLOCKS_FIELD_NUMBER

public static final int CLUSTER_IPV4_CIDR_BLOCKS_FIELD_NUMBER
Field Value
Type Description
int

SERVICES_IPV4_CIDR_BLOCKS_FIELD_NUMBER

public static final int SERVICES_IPV4_CIDR_BLOCKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClusterNetworking getDefaultInstance()
Returns
Type Description
ClusterNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(ClusterNetworking prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClusterIpv4CidrBlocks(int index)

public String getClusterIpv4CidrBlocks(int index)

Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The clusterIpv4CidrBlocks at the given index.

getClusterIpv4CidrBlocksBytes(int index)

public ByteString getClusterIpv4CidrBlocksBytes(int index)

Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the clusterIpv4CidrBlocks at the given index.

getClusterIpv4CidrBlocksCount()

public int getClusterIpv4CidrBlocksCount()

Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of clusterIpv4CidrBlocks.

getClusterIpv4CidrBlocksList()

public ProtocolStringList getClusterIpv4CidrBlocksList()

Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the clusterIpv4CidrBlocks.

getDefaultInstanceForType()

public ClusterNetworking getDefaultInstanceForType()
Returns
Type Description
ClusterNetworking

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServicesIpv4CidrBlocks(int index)

public String getServicesIpv4CidrBlocks(int index)

Required. All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The servicesIpv4CidrBlocks at the given index.

getServicesIpv4CidrBlocksBytes(int index)

public ByteString getServicesIpv4CidrBlocksBytes(int index)

Required. All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the servicesIpv4CidrBlocks at the given index.

getServicesIpv4CidrBlocksCount()

public int getServicesIpv4CidrBlocksCount()

Required. All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of servicesIpv4CidrBlocks.

getServicesIpv4CidrBlocksList()

public ProtocolStringList getServicesIpv4CidrBlocksList()

Required. All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the servicesIpv4CidrBlocks.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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