Class AwsClusterNetworking (0.2.3)

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

POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_ID_FIELD_NUMBER

public static final int VPC_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsClusterNetworking getDefaultInstance()
Returns
TypeDescription
AwsClusterNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(AwsClusterNetworking prototype)

public static AwsClusterNetworking.Builder newBuilder(AwsClusterNetworking prototype)
Parameter
NameDescription
prototypeAwsClusterNetworking
Returns
TypeDescription
AwsClusterNetworking.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsClusterNetworking getDefaultInstanceForType()
Returns
TypeDescription
AwsClusterNetworking

getParserForType()

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

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the podAddressCidrBlocks.

getSerializedSize()

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the serviceAddressCidrBlocks.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for vpcId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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