Class AwsClusterNetworking (0.54.0)

public final class AwsClusterNetworking extends GeneratedMessageV3 implements AwsClusterNetworkingOrBuilder

ClusterNetworking defines cluster-wide networking configuration.

Anthos clusters on AWS run on a single VPC. This includes control plane replicas and node pool nodes.

Protobuf type google.cloud.gkemulticloud.v1.AwsClusterNetworking

Static Fields

PER_NODE_POOL_SG_RULES_DISABLED_FIELD_NUMBER

public static final int PER_NODE_POOL_SG_RULES_DISABLED_FIELD_NUMBER
Field Value
Type Description
int

POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
Field Value
Type Description
int

VPC_ID_FIELD_NUMBER

public static final int VPC_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AwsClusterNetworking getDefaultInstance()
Returns
Type Description
AwsClusterNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(AwsClusterNetworking prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsClusterNetworking getDefaultInstanceForType()
Returns
Type Description
AwsClusterNetworking

getParserForType()

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

getPerNodePoolSgRulesDisabled()

public boolean getPerNodePoolSgRulesDisabled()

Optional. Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools.

bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The perNodePoolSgRulesDisabled.

getPodAddressCidrBlocks(int index)

public String getPodAddressCidrBlocks(int index)

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

repeated string pod_address_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 podAddressCidrBlocks at the given index.

getPodAddressCidrBlocksBytes(int index)

public ByteString getPodAddressCidrBlocksBytes(int index)

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

repeated string pod_address_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 podAddressCidrBlocks at the given index.

getPodAddressCidrBlocksCount()

public int getPodAddressCidrBlocksCount()

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

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

Returns
Type Description
int

The count of podAddressCidrBlocks.

getPodAddressCidrBlocksList()

public ProtocolStringList getPodAddressCidrBlocksList()

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

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

Returns
Type Description
ProtocolStringList

A list containing the podAddressCidrBlocks.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAddressCidrBlocks(int index)

public String getServiceAddressCidrBlocks(int index)

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

repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The serviceAddressCidrBlocks at the given index.

getServiceAddressCidrBlocksBytes(int index)

public ByteString getServiceAddressCidrBlocksBytes(int index)

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

repeated string service_address_cidr_blocks = 3 [(.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 serviceAddressCidrBlocks at the given index.

getServiceAddressCidrBlocksCount()

public int getServiceAddressCidrBlocksCount()

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

repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of serviceAddressCidrBlocks.

getServiceAddressCidrBlocksList()

public ProtocolStringList getServiceAddressCidrBlocksList()

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

repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the serviceAddressCidrBlocks.

getVpcId()

public String getVpcId()

Required. The VPC associated with the cluster. All component clusters (i.e. control plane and node pools) run on a single VPC.

This field cannot be changed after creation.

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

Returns
Type Description
String

The vpcId.

getVpcIdBytes()

public ByteString getVpcIdBytes()

Required. The VPC associated with the cluster. All component clusters (i.e. control plane and node pools) run on a single VPC.

This field cannot be changed after creation.

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

Returns
Type Description
ByteString

The bytes for vpcId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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