Class AzureClusterNetworking

  • All Implemented Interfaces:
    AzureClusterNetworkingOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class AzureClusterNetworking
    extends com.google.protobuf.GeneratedMessageV3
    implements AzureClusterNetworkingOrBuilder
     ClusterNetworking contains cluster-wide networking configuration.
     
    Protobuf type google.cloud.gkemulticloud.v1.AzureClusterNetworking
    See Also:
    Serialized Form
    • Field Detail

      • VIRTUAL_NETWORK_ID_FIELD_NUMBER

        public static final int VIRTUAL_NETWORK_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

        public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER

        public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER

        public static final int SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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];
        Specified by:
        getVirtualNetworkId in interface AzureClusterNetworkingOrBuilder
        Returns:
        The virtualNetworkId.
      • getVirtualNetworkIdBytes

        public com.google.protobuf.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];
        Specified by:
        getVirtualNetworkIdBytes in interface AzureClusterNetworkingOrBuilder
        Returns:
        The bytes for virtualNetworkId.
      • getPodAddressCidrBlocksList

        public com.google.protobuf.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];
        Specified by:
        getPodAddressCidrBlocksList in interface AzureClusterNetworkingOrBuilder
        Returns:
        A list containing the podAddressCidrBlocks.
      • 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];
        Specified by:
        getPodAddressCidrBlocksCount in interface AzureClusterNetworkingOrBuilder
        Returns:
        The count of podAddressCidrBlocks.
      • getPodAddressCidrBlocks

        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];
        Specified by:
        getPodAddressCidrBlocks in interface AzureClusterNetworkingOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The podAddressCidrBlocks at the given index.
      • getPodAddressCidrBlocksBytes

        public com.google.protobuf.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];
        Specified by:
        getPodAddressCidrBlocksBytes in interface AzureClusterNetworkingOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the podAddressCidrBlocks at the given index.
      • getServiceAddressCidrBlocksList

        public com.google.protobuf.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];
        Specified by:
        getServiceAddressCidrBlocksList in interface AzureClusterNetworkingOrBuilder
        Returns:
        A list containing the serviceAddressCidrBlocks.
      • 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];
        Specified by:
        getServiceAddressCidrBlocksCount in interface AzureClusterNetworkingOrBuilder
        Returns:
        The count of serviceAddressCidrBlocks.
      • getServiceAddressCidrBlocks

        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];
        Specified by:
        getServiceAddressCidrBlocks in interface AzureClusterNetworkingOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The serviceAddressCidrBlocks at the given index.
      • getServiceAddressCidrBlocksBytes

        public com.google.protobuf.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];
        Specified by:
        getServiceAddressCidrBlocksBytes in interface AzureClusterNetworkingOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the serviceAddressCidrBlocks at the given index.
      • 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];
        Specified by:
        getServiceLoadBalancerSubnetId in interface AzureClusterNetworkingOrBuilder
        Returns:
        The serviceLoadBalancerSubnetId.
      • getServiceLoadBalancerSubnetIdBytes

        public com.google.protobuf.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];
        Specified by:
        getServiceLoadBalancerSubnetIdBytes in interface AzureClusterNetworkingOrBuilder
        Returns:
        The bytes for serviceLoadBalancerSubnetId.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AzureClusterNetworking parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureClusterNetworking parseFrom​(ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureClusterNetworking parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureClusterNetworking parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureClusterNetworking parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureClusterNetworking parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public AzureClusterNetworking.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AzureClusterNetworking.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AzureClusterNetworking.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AzureClusterNetworking> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AzureClusterNetworking getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder