- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class NetworkConfig.Builder extends GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
NetworkConfig reports the relative names of network & subnetwork.
Protobuf type google.container.v1beta1.NetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkConfig.BuilderImplements
NetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkConfig.Builder |
build()
public NetworkConfig build()
Type | Description |
NetworkConfig |
buildPartial()
public NetworkConfig buildPartial()
Type | Description |
NetworkConfig |
clear()
public NetworkConfig.Builder clear()
Type | Description |
NetworkConfig.Builder |
clearDatapathProvider()
public NetworkConfig.Builder clearDatapathProvider()
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
.google.container.v1beta1.DatapathProvider datapath_provider = 11;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearDefaultSnatStatus()
public NetworkConfig.Builder clearDefaultSnatStatus()
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Type | Description |
NetworkConfig.Builder |
clearDnsConfig()
public NetworkConfig.Builder clearDnsConfig()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
Type | Description |
NetworkConfig.Builder |
clearEnableIntraNodeVisibility()
public NetworkConfig.Builder clearEnableIntraNodeVisibility()
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;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearEnableL4IlbSubsetting()
public NetworkConfig.Builder clearEnableL4IlbSubsetting()
Whether L4ILB Subsetting is enabled for this cluster.
bool enable_l4ilb_subsetting = 10;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NetworkConfig.Builder |
clearNetwork()
public NetworkConfig.Builder clearNetwork()
Output only. The relative name of the Google Compute Engine [network]google.container.v1beta1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NetworkConfig.Builder |
clearPrivateIpv6GoogleAccess()
public NetworkConfig.Builder clearPrivateIpv6GoogleAccess()
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.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearServiceExternalIpsConfig()
public NetworkConfig.Builder clearServiceExternalIpsConfig()
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Type | Description |
NetworkConfig.Builder |
clearSubnetwork()
public NetworkConfig.Builder clearSubnetwork()
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;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clone()
public NetworkConfig.Builder clone()
Type | Description |
NetworkConfig.Builder |
getDatapathProvider()
public DatapathProvider getDatapathProvider()
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
.google.container.v1beta1.DatapathProvider datapath_provider = 11;
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.v1beta1.DatapathProvider datapath_provider = 11;
Type | Description |
int | The enum numeric value on the wire for datapathProvider. |
getDefaultInstanceForType()
public NetworkConfig getDefaultInstanceForType()
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Type | Description |
DefaultSnatStatus | The defaultSnatStatus. |
getDefaultSnatStatusBuilder()
public DefaultSnatStatus.Builder getDefaultSnatStatusBuilder()
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Type | Description |
DefaultSnatStatus.Builder |
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Type | Description |
DefaultSnatStatusOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDnsConfig()
public DNSConfig getDnsConfig()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
Type | Description |
DNSConfig | The dnsConfig. |
getDnsConfigBuilder()
public DNSConfig.Builder getDnsConfigBuilder()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
Type | Description |
DNSConfig.Builder |
getDnsConfigOrBuilder()
public DNSConfigOrBuilder getDnsConfigOrBuilder()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
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;
Type | Description |
boolean | The enableIntraNodeVisibility. |
getEnableL4IlbSubsetting()
public boolean getEnableL4IlbSubsetting()
Whether L4ILB Subsetting is enabled for this cluster.
bool enable_l4ilb_subsetting = 10;
Type | Description |
boolean | The enableL4ilbSubsetting. |
getNetwork()
public String getNetwork()
Output only. The relative name of the Google Compute Engine [network]google.container.v1beta1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Output only. The relative name of the Google Compute Engine [network]google.container.v1beta1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Type | Description |
ByteString | The bytes for network. |
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.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
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.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Type | Description |
int | The enum numeric value on the wire for privateIpv6GoogleAccess. |
getServiceExternalIpsConfig()
public ServiceExternalIPsConfig getServiceExternalIpsConfig()
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Type | Description |
ServiceExternalIPsConfig | The serviceExternalIpsConfig. |
getServiceExternalIpsConfigBuilder()
public ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder()
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Type | Description |
ServiceExternalIPsConfig.Builder |
getServiceExternalIpsConfigOrBuilder()
public ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder()
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
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;
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;
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Type | Description |
boolean | Whether the defaultSnatStatus field is set. |
hasDnsConfig()
public boolean hasDnsConfig()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
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.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Type | Description |
boolean | Whether the serviceExternalIpsConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDefaultSnatStatus(DefaultSnatStatus value)
public NetworkConfig.Builder mergeDefaultSnatStatus(DefaultSnatStatus value)
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Name | Description |
value | DefaultSnatStatus |
Type | Description |
NetworkConfig.Builder |
mergeDnsConfig(DNSConfig value)
public NetworkConfig.Builder mergeDnsConfig(DNSConfig value)
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
Name | Description |
value | DNSConfig |
Type | Description |
NetworkConfig.Builder |
mergeFrom(NetworkConfig other)
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Name | Description |
other | NetworkConfig |
Type | Description |
NetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NetworkConfig.Builder |
mergeServiceExternalIpsConfig(ServiceExternalIPsConfig value)
public NetworkConfig.Builder mergeServiceExternalIpsConfig(ServiceExternalIPsConfig value)
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Name | Description |
value | ServiceExternalIPsConfig |
Type | Description |
NetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkConfig.Builder |
setDatapathProvider(DatapathProvider value)
public NetworkConfig.Builder setDatapathProvider(DatapathProvider value)
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
.google.container.v1beta1.DatapathProvider datapath_provider = 11;
Name | Description |
value | DatapathProvider The datapathProvider to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setDatapathProviderValue(int value)
public NetworkConfig.Builder setDatapathProviderValue(int value)
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
.google.container.v1beta1.DatapathProvider datapath_provider = 11;
Name | Description |
value | int The enum numeric value on the wire for datapathProvider to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setDefaultSnatStatus(DefaultSnatStatus value)
public NetworkConfig.Builder setDefaultSnatStatus(DefaultSnatStatus value)
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Name | Description |
value | DefaultSnatStatus |
Type | Description |
NetworkConfig.Builder |
setDefaultSnatStatus(DefaultSnatStatus.Builder builderForValue)
public NetworkConfig.Builder setDefaultSnatStatus(DefaultSnatStatus.Builder builderForValue)
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.v1beta1.DefaultSnatStatus default_snat_status = 7;
Name | Description |
builderForValue | DefaultSnatStatus.Builder |
Type | Description |
NetworkConfig.Builder |
setDnsConfig(DNSConfig value)
public NetworkConfig.Builder setDnsConfig(DNSConfig value)
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
Name | Description |
value | DNSConfig |
Type | Description |
NetworkConfig.Builder |
setDnsConfig(DNSConfig.Builder builderForValue)
public NetworkConfig.Builder setDnsConfig(DNSConfig.Builder builderForValue)
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1beta1.DNSConfig dns_config = 13;
Name | Description |
builderForValue | DNSConfig.Builder |
Type | Description |
NetworkConfig.Builder |
setEnableIntraNodeVisibility(boolean value)
public NetworkConfig.Builder setEnableIntraNodeVisibility(boolean value)
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;
Name | Description |
value | boolean The enableIntraNodeVisibility to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setEnableL4IlbSubsetting(boolean value)
public NetworkConfig.Builder setEnableL4IlbSubsetting(boolean value)
Whether L4ILB Subsetting is enabled for this cluster.
bool enable_l4ilb_subsetting = 10;
Name | Description |
value | boolean The enableL4ilbSubsetting to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkConfig.Builder |
setNetwork(String value)
public NetworkConfig.Builder setNetwork(String value)
Output only. The relative name of the Google Compute Engine [network]google.container.v1beta1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Name | Description |
value | String The network to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public NetworkConfig.Builder setNetworkBytes(ByteString value)
Output only. The relative name of the Google Compute Engine [network]google.container.v1beta1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setPrivateIpv6GoogleAccess(PrivateIPv6GoogleAccess value)
public NetworkConfig.Builder setPrivateIpv6GoogleAccess(PrivateIPv6GoogleAccess value)
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.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Name | Description |
value | PrivateIPv6GoogleAccess The privateIpv6GoogleAccess to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setPrivateIpv6GoogleAccessValue(int value)
public NetworkConfig.Builder setPrivateIpv6GoogleAccessValue(int value)
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.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Name | Description |
value | int The enum numeric value on the wire for privateIpv6GoogleAccess to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NetworkConfig.Builder |
setServiceExternalIpsConfig(ServiceExternalIPsConfig value)
public NetworkConfig.Builder setServiceExternalIpsConfig(ServiceExternalIPsConfig value)
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Name | Description |
value | ServiceExternalIPsConfig |
Type | Description |
NetworkConfig.Builder |
setServiceExternalIpsConfig(ServiceExternalIPsConfig.Builder builderForValue)
public NetworkConfig.Builder setServiceExternalIpsConfig(ServiceExternalIPsConfig.Builder builderForValue)
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15;
Name | Description |
builderForValue | ServiceExternalIPsConfig.Builder |
Type | Description |
NetworkConfig.Builder |
setSubnetwork(String value)
public NetworkConfig.Builder setSubnetwork(String value)
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;
Name | Description |
value | String The subnetwork to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setSubnetworkBytes(ByteString value)
public NetworkConfig.Builder setSubnetworkBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkConfig.Builder |