Class AzureClusterNetworking (0.19.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
TypeDescription
int

SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER

public static final int SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

VIRTUAL_NETWORK_ID_FIELD_NUMBER

public static final int VIRTUAL_NETWORK_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AzureClusterNetworking getDefaultInstance()
Returns
TypeDescription
AzureClusterNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(AzureClusterNetworking prototype)

public static AzureClusterNetworking.Builder newBuilder(AzureClusterNetworking prototype)
Parameter
NameDescription
prototypeAzureClusterNetworking
Returns
TypeDescription
AzureClusterNetworking.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AzureClusterNetworking getDefaultInstanceForType()
Returns
TypeDescription
AzureClusterNetworking

getParserForType()

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

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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