Class ClusterNetworking (0.14.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
TypeDescription
int

SERVICES_IPV4_CIDR_BLOCKS_FIELD_NUMBER

public static final int SERVICES_IPV4_CIDR_BLOCKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClusterNetworking getDefaultInstance()
Returns
TypeDescription
ClusterNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(ClusterNetworking prototype)

public static ClusterNetworking.Builder newBuilder(ClusterNetworking prototype)
Parameter
NameDescription
prototypeClusterNetworking
Returns
TypeDescription
ClusterNetworking.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

A list containing the clusterIpv4CidrBlocks.

getDefaultInstanceForType()

public ClusterNetworking getDefaultInstanceForType()
Returns
TypeDescription
ClusterNetworking

getParserForType()

public Parser<ClusterNetworking> getParserForType()
Returns
TypeDescription
Parser<ClusterNetworking>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

A list containing the servicesIpv4CidrBlocks.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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