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
SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
Field Value
VPC_ID_FIELD_NUMBER
public static final int VPC_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsClusterNetworking getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsClusterNetworking.Builder newBuilder()
Returns
newBuilder(AwsClusterNetworking prototype)
public static AwsClusterNetworking.Builder newBuilder(AwsClusterNetworking prototype)
Parameter
Returns
public static AwsClusterNetworking parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsClusterNetworking parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsClusterNetworking parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsClusterNetworking parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsClusterNetworking parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsClusterNetworking parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsClusterNetworking parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsClusterNetworking parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsClusterNetworking parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsClusterNetworking parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsClusterNetworking parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsClusterNetworking parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsClusterNetworking> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AwsClusterNetworking getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AwsClusterNetworking> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsClusterNetworking.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsClusterNetworking.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsClusterNetworking.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions