Class NetworkConfig (2.3.8)

public final class NetworkConfig extends GeneratedMessageV3 implements NetworkConfigOrBuilder

NetworkConfig reports the relative names of network & subnetwork.

Protobuf type google.container.v1.NetworkConfig

Static Fields

DATAPATH_PROVIDER_FIELD_NUMBER

public static final int DATAPATH_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_SNAT_STATUS_FIELD_NUMBER

public static final int DEFAULT_SNAT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

DNS_CONFIG_FIELD_NUMBER

public static final int DNS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER

public static final int ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER

public static final int ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER

public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER

public static final int SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkConfig getDefaultInstance()
Returns
Type Description
NetworkConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NetworkConfig.Builder newBuilder()
Returns
Type Description
NetworkConfig.Builder

newBuilder(NetworkConfig prototype)

public static NetworkConfig.Builder newBuilder(NetworkConfig prototype)
Parameter
Name Description
prototype NetworkConfig
Returns
Type Description
NetworkConfig.Builder

parseDelimitedFrom(InputStream input)

public static NetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkConfig> parser()
Returns
Type Description
Parser<NetworkConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
Type Description
DatapathProvider

The datapathProvider.

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;

Returns
Type Description
int

The enum numeric value on the wire for datapathProvider.

getDefaultInstanceForType()

public NetworkConfig getDefaultInstanceForType()
Returns
Type Description
NetworkConfig

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;

Returns
Type Description
DefaultSnatStatus

The defaultSnatStatus.

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;

Returns
Type Description
DefaultSnatStatusOrBuilder

getDnsConfig()

public DNSConfig getDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
Type Description
DNSConfig

The dnsConfig.

getDnsConfigOrBuilder()

public DNSConfigOrBuilder getDnsConfigOrBuilder()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
Type Description
DNSConfigOrBuilder

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;

Returns
Type Description
boolean

The enableIntraNodeVisibility.

getEnableL4IlbSubsetting()

public boolean getEnableL4IlbSubsetting()

Whether L4ILB Subsetting is enabled for this cluster.

bool enable_l4ilb_subsetting = 10;

Returns
Type Description
boolean

The enableL4ilbSubsetting.

getNetwork()

public 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
Type Description
String

The network.

getNetworkBytes()

public 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
Type Description
ByteString

The bytes for network.

getParserForType()

public Parser<NetworkConfig> getParserForType()
Returns
Type Description
Parser<NetworkConfig>
Overrides

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;

Returns
Type Description
PrivateIPv6GoogleAccess

The privateIpv6GoogleAccess.

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;

Returns
Type Description
int

The enum numeric value on the wire for privateIpv6GoogleAccess.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceExternalIpsConfig()

public 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 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 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
Type Description
String

The subnetwork.

getSubnetworkBytes()

public 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
Type Description
ByteString

The bytes for subnetwork.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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;

Returns
Type Description
boolean

Whether the defaultSnatStatus field is set.

hasDnsConfig()

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

hasServiceExternalIpsConfig()

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkConfig.Builder newBuilderForType()
Returns
Type Description
NetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkConfig.Builder toBuilder()
Returns
Type Description
NetworkConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException