Class AzureClusterNetworking.Builder (0.11.0)

public static final class AzureClusterNetworking.Builder extends GeneratedMessageV3.Builder<AzureClusterNetworking.Builder> implements AzureClusterNetworkingOrBuilder

ClusterNetworking contains cluster-wide networking configuration.

Protobuf type google.cloud.gkemulticloud.v1.AzureClusterNetworking

Static Methods

getDescriptor()

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

Methods

addAllPodAddressCidrBlocks(Iterable<String> values)

public AzureClusterNetworking.Builder addAllPodAddressCidrBlocks(Iterable<String> values)

Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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
valuesIterable<String>

The podAddressCidrBlocks to add.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

addAllServiceAddressCidrBlocks(Iterable<String> values)

public AzureClusterNetworking.Builder addAllServiceAddressCidrBlocks(Iterable<String> values)

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Parameter
NameDescription
valuesIterable<String>

The serviceAddressCidrBlocks to add.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

addPodAddressCidrBlocks(String value)

public AzureClusterNetworking.Builder addPodAddressCidrBlocks(String value)

Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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
valueString

The podAddressCidrBlocks to add.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

addPodAddressCidrBlocksBytes(ByteString value)

public AzureClusterNetworking.Builder addPodAddressCidrBlocksBytes(ByteString value)

Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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
valueByteString

The bytes of the podAddressCidrBlocks to add.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureClusterNetworking.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

addServiceAddressCidrBlocks(String value)

public AzureClusterNetworking.Builder addServiceAddressCidrBlocks(String value)

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Parameter
NameDescription
valueString

The serviceAddressCidrBlocks to add.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

addServiceAddressCidrBlocksBytes(ByteString value)

public AzureClusterNetworking.Builder addServiceAddressCidrBlocksBytes(ByteString value)

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Parameter
NameDescription
valueByteString

The bytes of the serviceAddressCidrBlocks to add.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

build()

public AzureClusterNetworking build()
Returns
TypeDescription
AzureClusterNetworking

buildPartial()

public AzureClusterNetworking buildPartial()
Returns
TypeDescription
AzureClusterNetworking

clear()

public AzureClusterNetworking.Builder clear()
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureClusterNetworking.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureClusterNetworking.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

clearPodAddressCidrBlocks()

public AzureClusterNetworking.Builder clearPodAddressCidrBlocks()

Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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
AzureClusterNetworking.Builder

This builder for chaining.

clearServiceAddressCidrBlocks()

public AzureClusterNetworking.Builder clearServiceAddressCidrBlocks()

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

clearServiceLoadBalancerSubnetId()

public AzureClusterNetworking.Builder clearServiceLoadBalancerSubnetId()

Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are deployed. When unspecified, it defaults to AzureControlPlane.subnet_id. Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"

string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

clearVirtualNetworkId()

public AzureClusterNetworking.Builder clearVirtualNetworkId()

Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id> This field cannot be changed after creation.

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

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

clone()

public AzureClusterNetworking.Builder clone()
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

getDefaultInstanceForType()

public AzureClusterNetworking getDefaultInstanceForType()
Returns
TypeDescription
AzureClusterNetworking

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPodAddressCidrBlocks(int index)

public String getPodAddressCidrBlocks(int index)

Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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.

getServiceAddressCidrBlocks(int index)

public String getServiceAddressCidrBlocks(int index)

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Returns
TypeDescription
int

The count of serviceAddressCidrBlocks.

getServiceAddressCidrBlocksList()

public ProtocolStringList getServiceAddressCidrBlocksList()

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Returns
TypeDescription
ProtocolStringList

A list containing the serviceAddressCidrBlocks.

getServiceLoadBalancerSubnetId()

public String getServiceLoadBalancerSubnetId()

Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are deployed. When unspecified, it defaults to AzureControlPlane.subnet_id. Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"

string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The serviceLoadBalancerSubnetId.

getServiceLoadBalancerSubnetIdBytes()

public ByteString getServiceLoadBalancerSubnetIdBytes()

Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are deployed. When unspecified, it defaults to AzureControlPlane.subnet_id. Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"

string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for serviceLoadBalancerSubnetId.

getVirtualNetworkId()

public String getVirtualNetworkId()

Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id> This field cannot be changed after creation.

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

Returns
TypeDescription
String

The virtualNetworkId.

getVirtualNetworkIdBytes()

public ByteString getVirtualNetworkIdBytes()

Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id> This field cannot be changed after creation.

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

Returns
TypeDescription
ByteString

The bytes for virtualNetworkId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureClusterNetworking other)

public AzureClusterNetworking.Builder mergeFrom(AzureClusterNetworking other)
Parameter
NameDescription
otherAzureClusterNetworking
Returns
TypeDescription
AzureClusterNetworking.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureClusterNetworking.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AzureClusterNetworking.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureClusterNetworking.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureClusterNetworking.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

setPodAddressCidrBlocks(int index, String value)

public AzureClusterNetworking.Builder setPodAddressCidrBlocks(int index, String value)

Required. The IP address range of the pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All pods in the cluster get assigned a unique 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
NameDescription
indexint

The index to set the value at.

valueString

The podAddressCidrBlocks to set.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AzureClusterNetworking.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

setServiceAddressCidrBlocks(int index, String value)

public AzureClusterNetworking.Builder setServiceAddressCidrBlocks(int index, String value)

Required. The IP address range for services in this cluster, in CIDR notation (e.g. 10.96.0.0/14). All services in the cluster get assigned a unique IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The serviceAddressCidrBlocks to set.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

setServiceLoadBalancerSubnetId(String value)

public AzureClusterNetworking.Builder setServiceLoadBalancerSubnetId(String value)

Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are deployed. When unspecified, it defaults to AzureControlPlane.subnet_id. Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"

string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The serviceLoadBalancerSubnetId to set.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

setServiceLoadBalancerSubnetIdBytes(ByteString value)

public AzureClusterNetworking.Builder setServiceLoadBalancerSubnetIdBytes(ByteString value)

Optional. The ARM ID of the subnet where Kubernetes private service type load balancers are deployed. When unspecified, it defaults to AzureControlPlane.subnet_id. Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"

string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for serviceLoadBalancerSubnetId to set.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureClusterNetworking.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureClusterNetworking.Builder
Overrides

setVirtualNetworkId(String value)

public AzureClusterNetworking.Builder setVirtualNetworkId(String value)

Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id> This field cannot be changed after creation.

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

Parameter
NameDescription
valueString

The virtualNetworkId to set.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.

setVirtualNetworkIdBytes(ByteString value)

public AzureClusterNetworking.Builder setVirtualNetworkIdBytes(ByteString value)

Required. The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id> This field cannot be changed after creation.

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

Parameter
NameDescription
valueByteString

The bytes for virtualNetworkId to set.

Returns
TypeDescription
AzureClusterNetworking.Builder

This builder for chaining.