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
DEFAULT_SNAT_STATUS_FIELD_NUMBER
public static final int DEFAULT_SNAT_STATUS_FIELD_NUMBER
Field Value
DNS_CONFIG_FIELD_NUMBER
public static final int DNS_CONFIG_FIELD_NUMBER
Field Value
ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER
public static final int ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER
Field Value
ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER
public static final int ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER
Field Value
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
Field Value
SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER
public static final int SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER
Field Value
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NetworkConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NetworkConfig.Builder newBuilder()
Returns
newBuilder(NetworkConfig prototype)
public static NetworkConfig.Builder newBuilder(NetworkConfig prototype)
Parameter
Returns
public static NetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NetworkConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NetworkConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NetworkConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NetworkConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
getDnsConfig()
public DNSConfig getDnsConfig()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Returns
getDnsConfigOrBuilder()
public DNSConfigOrBuilder getDnsConfigOrBuilder()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Returns
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
getParserForType()
public Parser<NetworkConfig> getParserForType()
Returns
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
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
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
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
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NetworkConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NetworkConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions