- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class AwsClusterNetworking.Builder extends GeneratedMessageV3.Builder<AwsClusterNetworking.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsClusterNetworking.BuilderImplements
AwsClusterNetworkingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPodAddressCidrBlocks(Iterable<String> values)
public AwsClusterNetworking.Builder addAllPodAddressCidrBlocks(Iterable<String> values)
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 |
values | Iterable<String> The podAddressCidrBlocks to add. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
addAllServiceAddressCidrBlocks(Iterable<String> values)
public AwsClusterNetworking.Builder addAllServiceAddressCidrBlocks(Iterable<String> values)
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 |
values | Iterable<String> The serviceAddressCidrBlocks to add. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
addPodAddressCidrBlocks(String value)
public AwsClusterNetworking.Builder addPodAddressCidrBlocks(String value)
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 |
value | String The podAddressCidrBlocks to add. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
addPodAddressCidrBlocksBytes(ByteString value)
public AwsClusterNetworking.Builder addPodAddressCidrBlocksBytes(ByteString value)
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 |
value | ByteString The bytes of the podAddressCidrBlocks to add. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsClusterNetworking.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
addServiceAddressCidrBlocks(String value)
public AwsClusterNetworking.Builder addServiceAddressCidrBlocks(String value)
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 |
value | String The serviceAddressCidrBlocks to add. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
addServiceAddressCidrBlocksBytes(ByteString value)
public AwsClusterNetworking.Builder addServiceAddressCidrBlocksBytes(ByteString value)
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 |
value | ByteString The bytes of the serviceAddressCidrBlocks to add. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
build()
public AwsClusterNetworking build()
Returns | |
---|---|
Type | Description |
AwsClusterNetworking |
buildPartial()
public AwsClusterNetworking buildPartial()
Returns | |
---|---|
Type | Description |
AwsClusterNetworking |
clear()
public AwsClusterNetworking.Builder clear()
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
clearField(Descriptors.FieldDescriptor field)
public AwsClusterNetworking.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsClusterNetworking.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
clearPerNodePoolSgRulesDisabled()
public AwsClusterNetworking.Builder clearPerNodePoolSgRulesDisabled()
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 |
AwsClusterNetworking.Builder | This builder for chaining. |
clearPodAddressCidrBlocks()
public AwsClusterNetworking.Builder clearPodAddressCidrBlocks()
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 |
AwsClusterNetworking.Builder | This builder for chaining. |
clearServiceAddressCidrBlocks()
public AwsClusterNetworking.Builder clearServiceAddressCidrBlocks()
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 |
AwsClusterNetworking.Builder | This builder for chaining. |
clearVpcId()
public AwsClusterNetworking.Builder clearVpcId()
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 |
AwsClusterNetworking.Builder | This builder for chaining. |
clone()
public AwsClusterNetworking.Builder clone()
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
getDefaultInstanceForType()
public AwsClusterNetworking getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AwsClusterNetworking |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AwsClusterNetworking other)
public AwsClusterNetworking.Builder mergeFrom(AwsClusterNetworking other)
Parameter | |
---|---|
Name | Description |
other | AwsClusterNetworking |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsClusterNetworking.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AwsClusterNetworking.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsClusterNetworking.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AwsClusterNetworking.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
setPerNodePoolSgRulesDisabled(boolean value)
public AwsClusterNetworking.Builder setPerNodePoolSgRulesDisabled(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value | boolean The perNodePoolSgRulesDisabled to set. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
setPodAddressCidrBlocks(int index, String value)
public AwsClusterNetworking.Builder setPodAddressCidrBlocks(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The podAddressCidrBlocks to set. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsClusterNetworking.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
setServiceAddressCidrBlocks(int index, String value)
public AwsClusterNetworking.Builder setServiceAddressCidrBlocks(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The serviceAddressCidrBlocks to set. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsClusterNetworking.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder |
setVpcId(String value)
public AwsClusterNetworking.Builder setVpcId(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The vpcId to set. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |
setVpcIdBytes(ByteString value)
public AwsClusterNetworking.Builder setVpcIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for vpcId to set. |
Returns | |
---|---|
Type | Description |
AwsClusterNetworking.Builder | This builder for chaining. |