- 2.56.0 (latest)
- 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.v1.NetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkConfig.BuilderImplements
NetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
build()
public NetworkConfig build()
Returns | |
---|---|
Type | Description |
NetworkConfig |
buildPartial()
public NetworkConfig buildPartial()
Returns | |
---|---|
Type | Description |
NetworkConfig |
clear()
public NetworkConfig.Builder clear()
Returns | |
---|---|
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.v1.DatapathProvider datapath_provider = 11;
Returns | |
---|---|
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.v1.DefaultSnatStatus default_snat_status = 7;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearDnsConfig()
public NetworkConfig.Builder clearDnsConfig()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearEnableFqdnNetworkPolicy()
public NetworkConfig.Builder clearEnableFqdnNetworkPolicy()
Whether FQDN Network Policy is enabled on this cluster.
optional bool enable_fqdn_network_policy = 19;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearGatewayApiConfig()
public NetworkConfig.Builder clearGatewayApiConfig()
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearNetwork()
public NetworkConfig.Builder clearNetwork()
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 |
NetworkConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Returns | |
---|---|
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.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clone()
public NetworkConfig.Builder clone()
Returns | |
---|---|
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.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. |
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.v1.DefaultSnatStatus default_snat_status = 7;
Returns | |
---|---|
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.v1.DefaultSnatStatus default_snat_status = 7;
Returns | |
---|---|
Type | Description |
DefaultSnatStatusOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDnsConfig()
public DNSConfig getDnsConfig()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Returns | |
---|---|
Type | Description |
DNSConfig | The dnsConfig. |
getDnsConfigBuilder()
public DNSConfig.Builder getDnsConfigBuilder()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Returns | |
---|---|
Type | Description |
DNSConfig.Builder |
getDnsConfigOrBuilder()
public DNSConfigOrBuilder getDnsConfigOrBuilder()
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Returns | |
---|---|
Type | Description |
DNSConfigOrBuilder |
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. |
getGatewayApiConfig()
public GatewayAPIConfig getGatewayApiConfig()
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Returns | |
---|---|
Type | Description |
GatewayAPIConfig | The gatewayApiConfig. |
getGatewayApiConfigBuilder()
public GatewayAPIConfig.Builder getGatewayApiConfigBuilder()
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Returns | |
---|---|
Type | Description |
GatewayAPIConfig.Builder |
getGatewayApiConfigOrBuilder()
public GatewayAPIConfigOrBuilder getGatewayApiConfigOrBuilder()
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Returns | |
---|---|
Type | Description |
GatewayAPIConfigOrBuilder |
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. |
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. |
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. |
getServiceExternalIpsConfigBuilder()
public ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder()
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
Returns | |
---|---|
Type | Description |
ServiceExternalIPsConfig.Builder |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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.v1.DefaultSnatStatus default_snat_status = 7;
Parameter | |
---|---|
Name | Description |
value | DefaultSnatStatus |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeDnsConfig(DNSConfig value)
public NetworkConfig.Builder mergeDnsConfig(DNSConfig value)
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Parameter | |
---|---|
Name | Description |
value | DNSConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeFrom(NetworkConfig other)
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other | NetworkConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeGatewayApiConfig(GatewayAPIConfig value)
public NetworkConfig.Builder mergeGatewayApiConfig(GatewayAPIConfig value)
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Parameter | |
---|---|
Name | Description |
value | GatewayAPIConfig |
Returns | |
---|---|
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.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
Parameter | |
---|---|
Name | Description |
value | ServiceExternalIPsConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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.v1.DatapathProvider datapath_provider = 11;
Parameter | |
---|---|
Name | Description |
value | DatapathProvider The datapathProvider to set. |
Returns | |
---|---|
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.v1.DatapathProvider datapath_provider = 11;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for datapathProvider to set. |
Returns | |
---|---|
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.v1.DefaultSnatStatus default_snat_status = 7;
Parameter | |
---|---|
Name | Description |
value | DefaultSnatStatus |
Returns | |
---|---|
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.v1.DefaultSnatStatus default_snat_status = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | DefaultSnatStatus.Builder |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setDnsConfig(DNSConfig value)
public NetworkConfig.Builder setDnsConfig(DNSConfig value)
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Parameter | |
---|---|
Name | Description |
value | DNSConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setDnsConfig(DNSConfig.Builder builderForValue)
public NetworkConfig.Builder setDnsConfig(DNSConfig.Builder builderForValue)
DNSConfig contains clusterDNS config for this cluster.
.google.container.v1.DNSConfig dns_config = 13;
Parameter | |
---|---|
Name | Description |
builderForValue | DNSConfig.Builder |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setEnableFqdnNetworkPolicy(boolean value)
public NetworkConfig.Builder setEnableFqdnNetworkPolicy(boolean value)
Whether FQDN Network Policy is enabled on this cluster.
optional bool enable_fqdn_network_policy = 19;
Parameter | |
---|---|
Name | Description |
value | boolean The enableFqdnNetworkPolicy to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
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;
Parameter | |
---|---|
Name | Description |
value | boolean The enableIntraNodeVisibility to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The enableL4ilbSubsetting to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setGatewayApiConfig(GatewayAPIConfig value)
public NetworkConfig.Builder setGatewayApiConfig(GatewayAPIConfig value)
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Parameter | |
---|---|
Name | Description |
value | GatewayAPIConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setGatewayApiConfig(GatewayAPIConfig.Builder builderForValue)
public NetworkConfig.Builder setGatewayApiConfig(GatewayAPIConfig.Builder builderForValue)
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
.google.container.v1.GatewayAPIConfig gateway_api_config = 16;
Parameter | |
---|---|
Name | Description |
builderForValue | GatewayAPIConfig.Builder |
Returns | |
---|---|
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.v1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Parameter | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
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.v1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network
string network = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
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.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Parameter | |
---|---|
Name | Description |
value | PrivateIPv6GoogleAccess The privateIpv6GoogleAccess to set. |
Returns | |
---|---|
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.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for privateIpv6GoogleAccess to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
Parameter | |
---|---|
Name | Description |
value | ServiceExternalIPsConfig |
Returns | |
---|---|
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.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
Parameter | |
---|---|
Name | Description |
builderForValue | ServiceExternalIPsConfig.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The subnetwork to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |