Class AzureClusterNetworking (0.51.0)

public final class AzureClusterNetworking extends GeneratedMessageV3 implements AzureClusterNetworkingOrBuilder

ClusterNetworking contains cluster-wide networking configuration.

Protobuf type google.cloud.gkemulticloud.v1.AzureClusterNetworking

Static Fields

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

SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER

public static final int SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER
Field Value
Type Description
int

VIRTUAL_NETWORK_ID_FIELD_NUMBER

public static final int VIRTUAL_NETWORK_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureClusterNetworking getDefaultInstance()
Returns
Type Description
AzureClusterNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(AzureClusterNetworking prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AzureClusterNetworking getDefaultInstanceForType()
Returns
Type Description
AzureClusterNetworking

getParserForType()

public Parser<AzureClusterNetworking> getParserForType()
Returns
Type Description
Parser<AzureClusterNetworking>
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
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. 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
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. 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
Type Description
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
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. 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
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. 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
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. 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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for virtualNetworkId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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