Class AzureClusterNetworking.Builder

    • Method Detail

      • 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.Builder<AzureClusterNetworking.Builder>
      • clear

        public AzureClusterNetworking.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • getDefaultInstanceForType

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

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

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

        public AzureClusterNetworking.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • clearField

        public AzureClusterNetworking.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • clearOneof

        public AzureClusterNetworking.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • setRepeatedField

        public AzureClusterNetworking.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • addRepeatedField

        public AzureClusterNetworking.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • mergeFrom

        public AzureClusterNetworking.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AzureClusterNetworking.Builder>
        Throws:
        IOException
      • 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.
      • setVirtualNetworkId

        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];
        Parameters:
        value - The virtualNetworkId to set.
        Returns:
        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:
        This builder for chaining.
      • setVirtualNetworkIdBytes

        public AzureClusterNetworking.Builder setVirtualNetworkIdBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for virtualNetworkId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setPodAddressCidrBlocks

        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:
        index - The index to set the value at.
        value - The podAddressCidrBlocks to set.
        Returns:
        This builder for chaining.
      • addPodAddressCidrBlocks

        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];
        Parameters:
        value - The podAddressCidrBlocks to add.
        Returns:
        This builder for chaining.
      • addAllPodAddressCidrBlocks

        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];
        Parameters:
        values - The podAddressCidrBlocks to add.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • addPodAddressCidrBlocksBytes

        public AzureClusterNetworking.Builder addPodAddressCidrBlocksBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes of the podAddressCidrBlocks to add.
        Returns:
        This builder for chaining.
      • 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.
      • setServiceAddressCidrBlocks

        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:
        index - The index to set the value at.
        value - The serviceAddressCidrBlocks to set.
        Returns:
        This builder for chaining.
      • addServiceAddressCidrBlocks

        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];
        Parameters:
        value - The serviceAddressCidrBlocks to add.
        Returns:
        This builder for chaining.
      • addAllServiceAddressCidrBlocks

        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];
        Parameters:
        values - The serviceAddressCidrBlocks to add.
        Returns:
        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:
        This builder for chaining.
      • addServiceAddressCidrBlocksBytes

        public AzureClusterNetworking.Builder addServiceAddressCidrBlocksBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes of the serviceAddressCidrBlocks to add.
        Returns:
        This builder for chaining.
      • 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.
      • setServiceLoadBalancerSubnetId

        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];
        Parameters:
        value - The serviceLoadBalancerSubnetId to set.
        Returns:
        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:
        This builder for chaining.
      • setServiceLoadBalancerSubnetIdBytes

        public AzureClusterNetworking.Builder setServiceLoadBalancerSubnetIdBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for serviceLoadBalancerSubnetId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AzureClusterNetworking.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>
      • mergeUnknownFields

        public final AzureClusterNetworking.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AzureClusterNetworking.Builder>