public final class NetworkConfig extends GeneratedMessageV3 implements NetworkConfigOrBuilder
NetworkConfig reports the relative names of network & subnetwork.
Protobuf type google.container.v1.NetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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_FQDN_NETWORK_POLICY_FIELD_NUMBER
public static final int ENABLE_FQDN_NETWORK_POLICY_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 | |
ENABLE_MULTI_NETWORKING_FIELD_NUMBER
public static final int ENABLE_MULTI_NETWORKING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GATEWAY_API_CONFIG_FIELD_NUMBER
public static final int GATEWAY_API_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NETWORK_PERFORMANCE_CONFIG_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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NetworkConfig.Builder newBuilder()
newBuilder(NetworkConfig prototype)
public static NetworkConfig.Builder newBuilder(NetworkConfig prototype)
public static NetworkConfig parseDelimitedFrom(InputStream input)
public static NetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NetworkConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NetworkConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(CodedInputStream input)
public static NetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(InputStream input)
public static NetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NetworkConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NetworkConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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()
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;
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;
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;
getEnableFqdnNetworkPolicy()
public 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 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.
|
getEnableMultiNetworking()
public boolean getEnableMultiNetworking()
Whether multi-networking is enabled for this cluster.
bool enable_multi_networking = 17;
Returns |
---|
Type | Description |
boolean | The enableMultiNetworking.
|
getGatewayApiConfig()
public GatewayAPIConfig getGatewayApiConfig()
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;
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.
|
public NetworkConfig.ClusterNetworkPerformanceConfig getNetworkPerformanceConfig()
Network bandwidth tier configuration.
.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
public NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
Network bandwidth tier configuration.
.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig network_performance_config = 18;
getParserForType()
public Parser<NetworkConfig> getParserForType()
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;
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;
getServiceExternalIpsConfigOrBuilder()
public ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder()
ServiceExternalIPsConfig specifies if services with externalIPs field are
blocked or not.
.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
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.
|
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.
|
hasEnableFqdnNetworkPolicy()
public 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 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.
|
public 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 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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NetworkConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NetworkConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides