Class NetworkConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder>
com.google.container.v1.NetworkConfig.Builder
All Implemented Interfaces:
NetworkConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NetworkConfig

public static final class NetworkConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
 NetworkConfig reports the relative names of network & subnetwork.
 
Protobuf type google.container.v1.NetworkConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Builder>
    • clear

      public NetworkConfig.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.GeneratedMessage.Builder<NetworkConfig.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.GeneratedMessage.Builder<NetworkConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public NetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
    • mergeFrom

      public NetworkConfig.Builder mergeFrom(NetworkConfig other)
    • isInitialized

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

      public NetworkConfig.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<NetworkConfig.Builder>
      Throws:
      IOException
    • getNetwork

      public String getNetwork()
       Output only. The relative name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
       to which the cluster is connected. Example:
       projects/my-project/global/networks/my-network
       
      string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNetwork in interface NetworkConfigOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Output only. The relative name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
       to which the cluster is connected. Example:
       projects/my-project/global/networks/my-network
       
      string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNetworkBytes in interface NetworkConfigOrBuilder
      Returns:
      The bytes for network.
    • setNetwork

      public NetworkConfig.Builder setNetwork(String value)
       Output only. The relative name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
       to which the cluster is connected. Example:
       projects/my-project/global/networks/my-network
       
      string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

      public NetworkConfig.Builder clearNetwork()
       Output only. The relative name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
       to which the cluster is connected. Example:
       projects/my-project/global/networks/my-network
       
      string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNetworkBytes

      public NetworkConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
       Output only. The relative name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
       to which the cluster is connected. Example:
       projects/my-project/global/networks/my-network
       
      string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for network to set.
      Returns:
      This builder for chaining.
    • getSubnetwork

      public String getSubnetwork()
       Output only. The relative name of the Google Compute Engine
       [subnetwork](https://cloud.google.com/compute/docs/vpc)
       to which the cluster is connected. Example:
       projects/my-project/regions/us-central1/subnetworks/my-subnet
       
      string subnetwork = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubnetwork in interface NetworkConfigOrBuilder
      Returns:
      The subnetwork.
    • getSubnetworkBytes

      public com.google.protobuf.ByteString getSubnetworkBytes()
       Output only. The relative name of the Google Compute Engine
       [subnetwork](https://cloud.google.com/compute/docs/vpc)
       to which the cluster is connected. Example:
       projects/my-project/regions/us-central1/subnetworks/my-subnet
       
      string subnetwork = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubnetworkBytes in interface NetworkConfigOrBuilder
      Returns:
      The bytes for subnetwork.
    • setSubnetwork

      public NetworkConfig.Builder setSubnetwork(String value)
       Output only. The relative name of the Google Compute Engine
       [subnetwork](https://cloud.google.com/compute/docs/vpc)
       to which the cluster is connected. Example:
       projects/my-project/regions/us-central1/subnetworks/my-subnet
       
      string subnetwork = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The subnetwork to set.
      Returns:
      This builder for chaining.
    • clearSubnetwork

      public NetworkConfig.Builder clearSubnetwork()
       Output only. The relative name of the Google Compute Engine
       [subnetwork](https://cloud.google.com/compute/docs/vpc)
       to which the cluster is connected. Example:
       projects/my-project/regions/us-central1/subnetworks/my-subnet
       
      string subnetwork = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setSubnetworkBytes

      public NetworkConfig.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
       Output only. The relative name of the Google Compute Engine
       [subnetwork](https://cloud.google.com/compute/docs/vpc)
       to which the cluster is connected. Example:
       projects/my-project/regions/us-central1/subnetworks/my-subnet
       
      string subnetwork = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for subnetwork to set.
      Returns:
      This builder for chaining.
    • getEnableIntraNodeVisibility

      public boolean getEnableIntraNodeVisibility()
       Whether Intra-node visibility is enabled for this cluster.
       This makes same node pod to pod traffic visible for VPC network.
       
      bool enable_intra_node_visibility = 5;
      Specified by:
      getEnableIntraNodeVisibility in interface NetworkConfigOrBuilder
      Returns:
      The enableIntraNodeVisibility.
    • setEnableIntraNodeVisibility

      public NetworkConfig.Builder setEnableIntraNodeVisibility(boolean value)
       Whether Intra-node visibility is enabled for this cluster.
       This makes same node pod to pod traffic visible for VPC network.
       
      bool enable_intra_node_visibility = 5;
      Parameters:
      value - The enableIntraNodeVisibility to set.
      Returns:
      This builder for chaining.
    • clearEnableIntraNodeVisibility

      public NetworkConfig.Builder clearEnableIntraNodeVisibility()
       Whether Intra-node visibility is enabled for this cluster.
       This makes same node pod to pod traffic visible for VPC network.
       
      bool enable_intra_node_visibility = 5;
      Returns:
      This builder for chaining.
    • hasDefaultSnatStatus

      public boolean hasDefaultSnatStatus()
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      Specified by:
      hasDefaultSnatStatus in interface NetworkConfigOrBuilder
      Returns:
      Whether the defaultSnatStatus field is set.
    • getDefaultSnatStatus

      public DefaultSnatStatus getDefaultSnatStatus()
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      Specified by:
      getDefaultSnatStatus in interface NetworkConfigOrBuilder
      Returns:
      The defaultSnatStatus.
    • setDefaultSnatStatus

      public NetworkConfig.Builder setDefaultSnatStatus(DefaultSnatStatus value)
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
    • setDefaultSnatStatus

      public NetworkConfig.Builder setDefaultSnatStatus(DefaultSnatStatus.Builder builderForValue)
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
    • mergeDefaultSnatStatus

      public NetworkConfig.Builder mergeDefaultSnatStatus(DefaultSnatStatus value)
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
    • clearDefaultSnatStatus

      public NetworkConfig.Builder clearDefaultSnatStatus()
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
    • getDefaultSnatStatusBuilder

      public DefaultSnatStatus.Builder getDefaultSnatStatusBuilder()
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
    • getDefaultSnatStatusOrBuilder

      public DefaultSnatStatusOrBuilder getDefaultSnatStatusOrBuilder()
       Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
       will be disabled when default_snat_status is disabled. When disabled is set
       to false, default IP masquerade rules will be applied to the nodes to
       prevent sNAT on cluster internal traffic.
       
      .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      Specified by:
      getDefaultSnatStatusOrBuilder in interface NetworkConfigOrBuilder
    • getEnableL4IlbSubsetting

      public boolean getEnableL4IlbSubsetting()
       Whether L4ILB Subsetting is enabled for this cluster.
       
      bool enable_l4ilb_subsetting = 10;
      Specified by:
      getEnableL4IlbSubsetting in interface NetworkConfigOrBuilder
      Returns:
      The enableL4ilbSubsetting.
    • setEnableL4IlbSubsetting

      public NetworkConfig.Builder setEnableL4IlbSubsetting(boolean value)
       Whether L4ILB Subsetting is enabled for this cluster.
       
      bool enable_l4ilb_subsetting = 10;
      Parameters:
      value - The enableL4ilbSubsetting to set.
      Returns:
      This builder for chaining.
    • clearEnableL4IlbSubsetting

      public NetworkConfig.Builder clearEnableL4IlbSubsetting()
       Whether L4ILB Subsetting is enabled for this cluster.
       
      bool enable_l4ilb_subsetting = 10;
      Returns:
      This builder for chaining.
    • getDatapathProviderValue

      public int getDatapathProviderValue()
       The desired datapath provider for this cluster. By default, uses the
       IPTables-based kube-proxy implementation.
       
      .google.container.v1.DatapathProvider datapath_provider = 11;
      Specified by:
      getDatapathProviderValue in interface NetworkConfigOrBuilder
      Returns:
      The enum numeric value on the wire for datapathProvider.
    • setDatapathProviderValue

      public NetworkConfig.Builder setDatapathProviderValue(int value)
       The desired datapath provider for this cluster. By default, uses the
       IPTables-based kube-proxy implementation.
       
      .google.container.v1.DatapathProvider datapath_provider = 11;
      Parameters:
      value - The enum numeric value on the wire for datapathProvider to set.
      Returns:
      This builder for chaining.
    • getDatapathProvider

      public DatapathProvider getDatapathProvider()
       The desired datapath provider for this cluster. By default, uses the
       IPTables-based kube-proxy implementation.
       
      .google.container.v1.DatapathProvider datapath_provider = 11;
      Specified by:
      getDatapathProvider in interface NetworkConfigOrBuilder
      Returns:
      The datapathProvider.
    • setDatapathProvider

      public NetworkConfig.Builder setDatapathProvider(DatapathProvider value)
       The desired datapath provider for this cluster. By default, uses the
       IPTables-based kube-proxy implementation.
       
      .google.container.v1.DatapathProvider datapath_provider = 11;
      Parameters:
      value - The datapathProvider to set.
      Returns:
      This builder for chaining.
    • clearDatapathProvider

      public NetworkConfig.Builder clearDatapathProvider()
       The desired datapath provider for this cluster. By default, uses the
       IPTables-based kube-proxy implementation.
       
      .google.container.v1.DatapathProvider datapath_provider = 11;
      Returns:
      This builder for chaining.
    • getPrivateIpv6GoogleAccessValue

      public int getPrivateIpv6GoogleAccessValue()
       The desired state of IPv6 connectivity to Google Services.
       By default, no private IPv6 access to or from Google Services (all access
       will be via IPv4)
       
      .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
      Specified by:
      getPrivateIpv6GoogleAccessValue in interface NetworkConfigOrBuilder
      Returns:
      The enum numeric value on the wire for privateIpv6GoogleAccess.
    • setPrivateIpv6GoogleAccessValue

      public NetworkConfig.Builder setPrivateIpv6GoogleAccessValue(int value)
       The desired state of IPv6 connectivity to Google Services.
       By default, no private IPv6 access to or from Google Services (all access
       will be via IPv4)
       
      .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
      Parameters:
      value - The enum numeric value on the wire for privateIpv6GoogleAccess to set.
      Returns:
      This builder for chaining.
    • getPrivateIpv6GoogleAccess

      public PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess()
       The desired state of IPv6 connectivity to Google Services.
       By default, no private IPv6 access to or from Google Services (all access
       will be via IPv4)
       
      .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
      Specified by:
      getPrivateIpv6GoogleAccess in interface NetworkConfigOrBuilder
      Returns:
      The privateIpv6GoogleAccess.
    • setPrivateIpv6GoogleAccess

      public NetworkConfig.Builder setPrivateIpv6GoogleAccess(PrivateIPv6GoogleAccess value)
       The desired state of IPv6 connectivity to Google Services.
       By default, no private IPv6 access to or from Google Services (all access
       will be via IPv4)
       
      .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
      Parameters:
      value - The privateIpv6GoogleAccess to set.
      Returns:
      This builder for chaining.
    • clearPrivateIpv6GoogleAccess

      public NetworkConfig.Builder clearPrivateIpv6GoogleAccess()
       The desired state of IPv6 connectivity to Google Services.
       By default, no private IPv6 access to or from Google Services (all access
       will be via IPv4)
       
      .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
      Returns:
      This builder for chaining.
    • hasDnsConfig

      public boolean hasDnsConfig()
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
      Specified by:
      hasDnsConfig in interface NetworkConfigOrBuilder
      Returns:
      Whether the dnsConfig field is set.
    • getDnsConfig

      public DNSConfig getDnsConfig()
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
      Specified by:
      getDnsConfig in interface NetworkConfigOrBuilder
      Returns:
      The dnsConfig.
    • setDnsConfig

      public NetworkConfig.Builder setDnsConfig(DNSConfig value)
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
    • setDnsConfig

      public NetworkConfig.Builder setDnsConfig(DNSConfig.Builder builderForValue)
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
    • mergeDnsConfig

      public NetworkConfig.Builder mergeDnsConfig(DNSConfig value)
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
    • clearDnsConfig

      public NetworkConfig.Builder clearDnsConfig()
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
    • getDnsConfigBuilder

      public DNSConfig.Builder getDnsConfigBuilder()
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
    • getDnsConfigOrBuilder

      public DNSConfigOrBuilder getDnsConfigOrBuilder()
       DNSConfig contains clusterDNS config for this cluster.
       
      .google.container.v1.DNSConfig dns_config = 13;
      Specified by:
      getDnsConfigOrBuilder in interface NetworkConfigOrBuilder
    • hasServiceExternalIpsConfig

      public boolean hasServiceExternalIpsConfig()
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      Specified by:
      hasServiceExternalIpsConfig in interface NetworkConfigOrBuilder
      Returns:
      Whether the serviceExternalIpsConfig field is set.
    • getServiceExternalIpsConfig

      public ServiceExternalIPsConfig getServiceExternalIpsConfig()
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      Specified by:
      getServiceExternalIpsConfig in interface NetworkConfigOrBuilder
      Returns:
      The serviceExternalIpsConfig.
    • setServiceExternalIpsConfig

      public NetworkConfig.Builder setServiceExternalIpsConfig(ServiceExternalIPsConfig value)
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    • setServiceExternalIpsConfig

      public NetworkConfig.Builder setServiceExternalIpsConfig(ServiceExternalIPsConfig.Builder builderForValue)
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    • mergeServiceExternalIpsConfig

      public NetworkConfig.Builder mergeServiceExternalIpsConfig(ServiceExternalIPsConfig value)
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    • clearServiceExternalIpsConfig

      public NetworkConfig.Builder clearServiceExternalIpsConfig()
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    • getServiceExternalIpsConfigBuilder

      public ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder()
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    • getServiceExternalIpsConfigOrBuilder

      public ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder()
       ServiceExternalIPsConfig specifies if services with externalIPs field are
       blocked or not.
       
      .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      Specified by:
      getServiceExternalIpsConfigOrBuilder in interface NetworkConfigOrBuilder
    • hasGatewayApiConfig

      public boolean hasGatewayApiConfig()
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      Specified by:
      hasGatewayApiConfig in interface NetworkConfigOrBuilder
      Returns:
      Whether the gatewayApiConfig field is set.
    • getGatewayApiConfig

      public GatewayAPIConfig getGatewayApiConfig()
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      Specified by:
      getGatewayApiConfig in interface NetworkConfigOrBuilder
      Returns:
      The gatewayApiConfig.
    • setGatewayApiConfig

      public NetworkConfig.Builder setGatewayApiConfig(GatewayAPIConfig value)
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
    • setGatewayApiConfig

      public NetworkConfig.Builder setGatewayApiConfig(GatewayAPIConfig.Builder builderForValue)
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
    • mergeGatewayApiConfig

      public NetworkConfig.Builder mergeGatewayApiConfig(GatewayAPIConfig value)
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
    • clearGatewayApiConfig

      public NetworkConfig.Builder clearGatewayApiConfig()
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
    • getGatewayApiConfigBuilder

      public GatewayAPIConfig.Builder getGatewayApiConfigBuilder()
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
    • getGatewayApiConfigOrBuilder

      public GatewayAPIConfigOrBuilder getGatewayApiConfigOrBuilder()
       GatewayAPIConfig contains the desired config of Gateway API on this
       cluster.
       
      .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      Specified by:
      getGatewayApiConfigOrBuilder in interface NetworkConfigOrBuilder
    • getEnableMultiNetworking

      public boolean getEnableMultiNetworking()
       Whether multi-networking is enabled for this cluster.
       
      bool enable_multi_networking = 17;
      Specified by:
      getEnableMultiNetworking in interface NetworkConfigOrBuilder
      Returns:
      The enableMultiNetworking.
    • setEnableMultiNetworking

      public NetworkConfig.Builder setEnableMultiNetworking(boolean value)
       Whether multi-networking is enabled for this cluster.
       
      bool enable_multi_networking = 17;
      Parameters:
      value - The enableMultiNetworking to set.
      Returns:
      This builder for chaining.
    • clearEnableMultiNetworking

      public NetworkConfig.Builder clearEnableMultiNetworking()
       Whether multi-networking is enabled for this cluster.
       
      bool enable_multi_networking = 17;
      Returns:
      This builder for chaining.
    • hasNetworkPerformanceConfig

      public boolean hasNetworkPerformanceConfig()
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
      Specified by:
      hasNetworkPerformanceConfig in interface NetworkConfigOrBuilder
      Returns:
      Whether the networkPerformanceConfig field is set.
    • getNetworkPerformanceConfig

      public NetworkConfig.ClusterNetworkPerformanceConfig getNetworkPerformanceConfig()
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
      Specified by:
      getNetworkPerformanceConfig in interface NetworkConfigOrBuilder
      Returns:
      The networkPerformanceConfig.
    • setNetworkPerformanceConfig

      public NetworkConfig.Builder setNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig value)
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
    • setNetworkPerformanceConfig

      public NetworkConfig.Builder setNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig.Builder builderForValue)
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
    • mergeNetworkPerformanceConfig

      public NetworkConfig.Builder mergeNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig value)
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
    • clearNetworkPerformanceConfig

      public NetworkConfig.Builder clearNetworkPerformanceConfig()
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
    • getNetworkPerformanceConfigBuilder

      public NetworkConfig.ClusterNetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder()
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
    • getNetworkPerformanceConfigOrBuilder

      public NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
       Network bandwidth tier configuration.
       
      .google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
      Specified by:
      getNetworkPerformanceConfigOrBuilder in interface NetworkConfigOrBuilder
    • hasEnableFqdnNetworkPolicy

      public boolean hasEnableFqdnNetworkPolicy()
       Whether FQDN Network Policy is enabled on this cluster.
       
      optional bool enable_fqdn_network_policy = 19;
      Specified by:
      hasEnableFqdnNetworkPolicy in interface NetworkConfigOrBuilder
      Returns:
      Whether the enableFqdnNetworkPolicy field is set.
    • getEnableFqdnNetworkPolicy

      public boolean getEnableFqdnNetworkPolicy()
       Whether FQDN Network Policy is enabled on this cluster.
       
      optional bool enable_fqdn_network_policy = 19;
      Specified by:
      getEnableFqdnNetworkPolicy in interface NetworkConfigOrBuilder
      Returns:
      The enableFqdnNetworkPolicy.
    • setEnableFqdnNetworkPolicy

      public NetworkConfig.Builder setEnableFqdnNetworkPolicy(boolean value)
       Whether FQDN Network Policy is enabled on this cluster.
       
      optional bool enable_fqdn_network_policy = 19;
      Parameters:
      value - The enableFqdnNetworkPolicy to set.
      Returns:
      This builder for chaining.
    • clearEnableFqdnNetworkPolicy

      public NetworkConfig.Builder clearEnableFqdnNetworkPolicy()
       Whether FQDN Network Policy is enabled on this cluster.
       
      optional bool enable_fqdn_network_policy = 19;
      Returns:
      This builder for chaining.
    • hasInTransitEncryptionConfig

      public boolean hasInTransitEncryptionConfig()
       Specify the details of in-transit encryption.
       Now named inter-node transparent encryption.
       
      optional .google.container.v1.InTransitEncryptionConfig in_transit_encryption_config = 20;
      Specified by:
      hasInTransitEncryptionConfig in interface NetworkConfigOrBuilder
      Returns:
      Whether the inTransitEncryptionConfig field is set.
    • getInTransitEncryptionConfigValue

      public int getInTransitEncryptionConfigValue()
       Specify the details of in-transit encryption.
       Now named inter-node transparent encryption.
       
      optional .google.container.v1.InTransitEncryptionConfig in_transit_encryption_config = 20;
      Specified by:
      getInTransitEncryptionConfigValue in interface NetworkConfigOrBuilder
      Returns:
      The enum numeric value on the wire for inTransitEncryptionConfig.
    • setInTransitEncryptionConfigValue

      public NetworkConfig.Builder setInTransitEncryptionConfigValue(int value)
       Specify the details of in-transit encryption.
       Now named inter-node transparent encryption.
       
      optional .google.container.v1.InTransitEncryptionConfig in_transit_encryption_config = 20;
      Parameters:
      value - The enum numeric value on the wire for inTransitEncryptionConfig to set.
      Returns:
      This builder for chaining.
    • getInTransitEncryptionConfig

      public InTransitEncryptionConfig getInTransitEncryptionConfig()
       Specify the details of in-transit encryption.
       Now named inter-node transparent encryption.
       
      optional .google.container.v1.InTransitEncryptionConfig in_transit_encryption_config = 20;
      Specified by:
      getInTransitEncryptionConfig in interface NetworkConfigOrBuilder
      Returns:
      The inTransitEncryptionConfig.
    • setInTransitEncryptionConfig

      public NetworkConfig.Builder setInTransitEncryptionConfig(InTransitEncryptionConfig value)
       Specify the details of in-transit encryption.
       Now named inter-node transparent encryption.
       
      optional .google.container.v1.InTransitEncryptionConfig in_transit_encryption_config = 20;
      Parameters:
      value - The inTransitEncryptionConfig to set.
      Returns:
      This builder for chaining.
    • clearInTransitEncryptionConfig

      public NetworkConfig.Builder clearInTransitEncryptionConfig()
       Specify the details of in-transit encryption.
       Now named inter-node transparent encryption.
       
      optional .google.container.v1.InTransitEncryptionConfig in_transit_encryption_config = 20;
      Returns:
      This builder for chaining.
    • hasEnableCiliumClusterwideNetworkPolicy

      public boolean hasEnableCiliumClusterwideNetworkPolicy()
       Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
       
      optional bool enable_cilium_clusterwide_network_policy = 21;
      Specified by:
      hasEnableCiliumClusterwideNetworkPolicy in interface NetworkConfigOrBuilder
      Returns:
      Whether the enableCiliumClusterwideNetworkPolicy field is set.
    • getEnableCiliumClusterwideNetworkPolicy

      public boolean getEnableCiliumClusterwideNetworkPolicy()
       Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
       
      optional bool enable_cilium_clusterwide_network_policy = 21;
      Specified by:
      getEnableCiliumClusterwideNetworkPolicy in interface NetworkConfigOrBuilder
      Returns:
      The enableCiliumClusterwideNetworkPolicy.
    • setEnableCiliumClusterwideNetworkPolicy

      public NetworkConfig.Builder setEnableCiliumClusterwideNetworkPolicy(boolean value)
       Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
       
      optional bool enable_cilium_clusterwide_network_policy = 21;
      Parameters:
      value - The enableCiliumClusterwideNetworkPolicy to set.
      Returns:
      This builder for chaining.
    • clearEnableCiliumClusterwideNetworkPolicy

      public NetworkConfig.Builder clearEnableCiliumClusterwideNetworkPolicy()
       Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
       
      optional bool enable_cilium_clusterwide_network_policy = 21;
      Returns:
      This builder for chaining.
    • hasDefaultEnablePrivateNodes

      public boolean hasDefaultEnablePrivateNodes()
       Controls whether by default nodes have private IP addresses only.
       It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][]
       and this field at the same time.
       To update the default setting, use
       [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
       
      optional bool default_enable_private_nodes = 22;
      Specified by:
      hasDefaultEnablePrivateNodes in interface NetworkConfigOrBuilder
      Returns:
      Whether the defaultEnablePrivateNodes field is set.
    • getDefaultEnablePrivateNodes

      public boolean getDefaultEnablePrivateNodes()
       Controls whether by default nodes have private IP addresses only.
       It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][]
       and this field at the same time.
       To update the default setting, use
       [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
       
      optional bool default_enable_private_nodes = 22;
      Specified by:
      getDefaultEnablePrivateNodes in interface NetworkConfigOrBuilder
      Returns:
      The defaultEnablePrivateNodes.
    • setDefaultEnablePrivateNodes

      public NetworkConfig.Builder setDefaultEnablePrivateNodes(boolean value)
       Controls whether by default nodes have private IP addresses only.
       It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][]
       and this field at the same time.
       To update the default setting, use
       [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
       
      optional bool default_enable_private_nodes = 22;
      Parameters:
      value - The defaultEnablePrivateNodes to set.
      Returns:
      This builder for chaining.
    • clearDefaultEnablePrivateNodes

      public NetworkConfig.Builder clearDefaultEnablePrivateNodes()
       Controls whether by default nodes have private IP addresses only.
       It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][]
       and this field at the same time.
       To update the default setting, use
       [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
       
      optional bool default_enable_private_nodes = 22;
      Returns:
      This builder for chaining.
    • hasDataplaneV2Config

      public boolean hasDataplaneV2Config()
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDataplaneV2Config in interface NetworkConfigOrBuilder
      Returns:
      Whether the dataplaneV2Config field is set.
    • getDataplaneV2Config

      public DataplaneV2Config getDataplaneV2Config()
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataplaneV2Config in interface NetworkConfigOrBuilder
      Returns:
      The dataplaneV2Config.
    • setDataplaneV2Config

      public NetworkConfig.Builder setDataplaneV2Config(DataplaneV2Config value)
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • setDataplaneV2Config

      public NetworkConfig.Builder setDataplaneV2Config(DataplaneV2Config.Builder builderForValue)
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDataplaneV2Config

      public NetworkConfig.Builder mergeDataplaneV2Config(DataplaneV2Config value)
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • clearDataplaneV2Config

      public NetworkConfig.Builder clearDataplaneV2Config()
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getDataplaneV2ConfigBuilder

      public DataplaneV2Config.Builder getDataplaneV2ConfigBuilder()
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getDataplaneV2ConfigOrBuilder

      public DataplaneV2ConfigOrBuilder getDataplaneV2ConfigOrBuilder()
       Optional. DataplaneV2Config specifies the DPv2 configuration.
       
      optional .google.container.v1.DataplaneV2Config dataplane_v2_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataplaneV2ConfigOrBuilder in interface NetworkConfigOrBuilder
    • hasDisableL4LbFirewallReconciliation

      public boolean hasDisableL4LbFirewallReconciliation()
       Disable L4 load balancer VPC firewalls to enable firewall policies.
       
      optional bool disable_l4_lb_firewall_reconciliation = 24;
      Specified by:
      hasDisableL4LbFirewallReconciliation in interface NetworkConfigOrBuilder
      Returns:
      Whether the disableL4LbFirewallReconciliation field is set.
    • getDisableL4LbFirewallReconciliation

      public boolean getDisableL4LbFirewallReconciliation()
       Disable L4 load balancer VPC firewalls to enable firewall policies.
       
      optional bool disable_l4_lb_firewall_reconciliation = 24;
      Specified by:
      getDisableL4LbFirewallReconciliation in interface NetworkConfigOrBuilder
      Returns:
      The disableL4LbFirewallReconciliation.
    • setDisableL4LbFirewallReconciliation

      public NetworkConfig.Builder setDisableL4LbFirewallReconciliation(boolean value)
       Disable L4 load balancer VPC firewalls to enable firewall policies.
       
      optional bool disable_l4_lb_firewall_reconciliation = 24;
      Parameters:
      value - The disableL4LbFirewallReconciliation to set.
      Returns:
      This builder for chaining.
    • clearDisableL4LbFirewallReconciliation

      public NetworkConfig.Builder clearDisableL4LbFirewallReconciliation()
       Disable L4 load balancer VPC firewalls to enable firewall policies.
       
      optional bool disable_l4_lb_firewall_reconciliation = 24;
      Returns:
      This builder for chaining.