Interface NetworkConfigOrBuilder (2.16.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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for datapathProvider.

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
TypeDescription
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
TypeDescription
DefaultSnatStatusOrBuilder

getDnsConfig()

public abstract DNSConfig getDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
TypeDescription
DNSConfig

The dnsConfig.

getDnsConfigOrBuilder()

public abstract DNSConfigOrBuilder getDnsConfigOrBuilder()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
TypeDescription
DNSConfigOrBuilder

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
TypeDescription
boolean

The enableIntraNodeVisibility.

getEnableL4IlbSubsetting()

public abstract boolean getEnableL4IlbSubsetting()

Whether L4ILB Subsetting is enabled for this cluster.

bool enable_l4ilb_subsetting = 10;

Returns
TypeDescription
boolean

The enableL4ilbSubsetting.

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
TypeDescription
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
TypeDescription
GatewayAPIConfigOrBuilder

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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for network.

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

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
TypeDescription
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
TypeDescription
boolean

Whether the dnsConfig 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
TypeDescription
boolean

Whether the gatewayApiConfig 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
TypeDescription
boolean

Whether the serviceExternalIpsConfig field is set.