Interface NetworkConfigOrBuilder (2.56.0)

public interface NetworkConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatapathProvider()

public abstract 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;

Returns
Type Description
DatapathProvider

The datapathProvider.

getDatapathProviderValue()

public abstract 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;

Returns
Type Description
int

The enum numeric value on the wire for datapathProvider.

getDefaultEnablePrivateNodes()

public abstract 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

optional bool default_enable_private_nodes = 22;

Returns
Type Description
boolean

The defaultEnablePrivateNodes.

getDefaultSnatStatus()

public abstract 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;

Returns
Type Description
DefaultSnatStatus

The defaultSnatStatus.

getDefaultSnatStatusOrBuilder()

public abstract 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;

Returns
Type Description
DefaultSnatStatusOrBuilder

getDnsConfig()

public abstract DNSConfig getDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig dns_config = 13;

Returns
Type Description
DNSConfig

The dnsConfig.

getDnsConfigOrBuilder()

public abstract DNSConfigOrBuilder getDnsConfigOrBuilder()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig dns_config = 13;

Returns
Type Description
DNSConfigOrBuilder

getEnableCiliumClusterwideNetworkPolicy()

public abstract boolean getEnableCiliumClusterwideNetworkPolicy()

Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.

optional bool enable_cilium_clusterwide_network_policy = 21;

Returns
Type Description
boolean

The enableCiliumClusterwideNetworkPolicy.

getEnableFqdnNetworkPolicy()

public abstract boolean getEnableFqdnNetworkPolicy()

Whether FQDN Network Policy is enabled on this cluster.

optional bool enable_fqdn_network_policy = 19;

Returns
Type Description
boolean

The enableFqdnNetworkPolicy.

getEnableIntraNodeVisibility()

public abstract 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;

Returns
Type Description
boolean

The enableIntraNodeVisibility.

getEnableL4IlbSubsetting()

public abstract boolean getEnableL4IlbSubsetting()

Whether L4ILB Subsetting is enabled for this cluster.

bool enable_l4ilb_subsetting = 10;

Returns
Type Description
boolean

The enableL4ilbSubsetting.

getEnableMultiNetworking()

public abstract boolean getEnableMultiNetworking()

Whether multi-networking is enabled for this cluster.

bool enable_multi_networking = 17;

Returns
Type Description
boolean

The enableMultiNetworking.

getGatewayApiConfig()

public abstract GatewayAPIConfig getGatewayApiConfig()

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig gateway_api_config = 16;

Returns
Type Description
GatewayAPIConfig

The gatewayApiConfig.

getGatewayApiConfigOrBuilder()

public abstract GatewayAPIConfigOrBuilder getGatewayApiConfigOrBuilder()

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig gateway_api_config = 16;

Returns
Type Description
GatewayAPIConfigOrBuilder

getInTransitEncryptionConfig()

public abstract 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;

Returns
Type Description
InTransitEncryptionConfig

The inTransitEncryptionConfig.

getInTransitEncryptionConfigValue()

public abstract 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;

Returns
Type Description
int

The enum numeric value on the wire for inTransitEncryptionConfig.

getNetwork()

public abstract String getNetwork()

Output only. The relative name of the Google Compute Engine [network]google.container.v1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network

string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Output only. The relative name of the Google Compute Engine [network]google.container.v1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network

string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for network.

getNetworkPerformanceConfig()

public abstract NetworkConfig.ClusterNetworkPerformanceConfig getNetworkPerformanceConfig()

Network bandwidth tier configuration.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig

The networkPerformanceConfig.

getNetworkPerformanceConfigOrBuilder()

public abstract NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()

Network bandwidth tier configuration.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder

getPrivateIpv6GoogleAccess()

public abstract 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;

Returns
Type Description
PrivateIPv6GoogleAccess

The privateIpv6GoogleAccess.

getPrivateIpv6GoogleAccessValue()

public abstract 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;

Returns
Type Description
int

The enum numeric value on the wire for privateIpv6GoogleAccess.

getServiceExternalIpsConfig()

public abstract ServiceExternalIPsConfig getServiceExternalIpsConfig()

ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.

.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;

Returns
Type Description
ServiceExternalIPsConfig

The serviceExternalIpsConfig.

getServiceExternalIpsConfigOrBuilder()

public abstract ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder()

ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.

.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;

Returns
Type Description
ServiceExternalIPsConfigOrBuilder

getSubnetwork()

public abstract String getSubnetwork()

Output only. The relative name of the Google Compute Engine subnetwork 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
Type Description
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

Output only. The relative name of the Google Compute Engine subnetwork 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
Type Description
ByteString

The bytes for subnetwork.

hasDefaultEnablePrivateNodes()

public abstract 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

optional bool default_enable_private_nodes = 22;

Returns
Type Description
boolean

Whether the defaultEnablePrivateNodes field is set.

hasDefaultSnatStatus()

public abstract 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;

Returns
Type Description
boolean

Whether the defaultSnatStatus field is set.

hasDnsConfig()

public abstract boolean hasDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig dns_config = 13;

Returns
Type Description
boolean

Whether the dnsConfig field is set.

hasEnableCiliumClusterwideNetworkPolicy()

public abstract boolean hasEnableCiliumClusterwideNetworkPolicy()

Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.

optional bool enable_cilium_clusterwide_network_policy = 21;

Returns
Type Description
boolean

Whether the enableCiliumClusterwideNetworkPolicy field is set.

hasEnableFqdnNetworkPolicy()

public abstract boolean hasEnableFqdnNetworkPolicy()

Whether FQDN Network Policy is enabled on this cluster.

optional bool enable_fqdn_network_policy = 19;

Returns
Type Description
boolean

Whether the enableFqdnNetworkPolicy field is set.

hasGatewayApiConfig()

public abstract boolean hasGatewayApiConfig()

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig gateway_api_config = 16;

Returns
Type Description
boolean

Whether the gatewayApiConfig field is set.

hasInTransitEncryptionConfig()

public abstract 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;

Returns
Type Description
boolean

Whether the inTransitEncryptionConfig field is set.

hasNetworkPerformanceConfig()

public abstract boolean hasNetworkPerformanceConfig()

Network bandwidth tier configuration.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;

Returns
Type Description
boolean

Whether the networkPerformanceConfig field is set.

hasServiceExternalIpsConfig()

public abstract boolean hasServiceExternalIpsConfig()

ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.

.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;

Returns
Type Description
boolean

Whether the serviceExternalIpsConfig field is set.