Class PrivateClusterConfig.Builder (2.58.0)

public static final class PrivateClusterConfig.Builder extends GeneratedMessageV3.Builder<PrivateClusterConfig.Builder> implements PrivateClusterConfigOrBuilder

Configuration options for private clusters.

Protobuf type google.container.v1.PrivateClusterConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

build()

public PrivateClusterConfig build()
Returns
Type Description
PrivateClusterConfig

buildPartial()

public PrivateClusterConfig buildPartial()
Returns
Type Description
PrivateClusterConfig

clear()

public PrivateClusterConfig.Builder clear()
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

clearEnablePrivateEndpoint() (deprecated)

public PrivateClusterConfig.Builder clearEnablePrivateEndpoint()

Deprecated. google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1440

Whether the master's internal IP address is used as the cluster endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.

bool enable_private_endpoint = 2 [deprecated = true];

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clearEnablePrivateNodes() (deprecated)

public PrivateClusterConfig.Builder clearEnablePrivateNodes()

Deprecated. google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See google/container/v1/cluster_service.proto;l=1432

Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.

Deprecated: Use NetworkConfig.default_enable_private_nodes instead.

bool enable_private_nodes = 1 [deprecated = true];

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PrivateClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

clearMasterGlobalAccessConfig() (deprecated)

public PrivateClusterConfig.Builder clearMasterGlobalAccessConfig()

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Returns
Type Description
PrivateClusterConfig.Builder

clearMasterIpv4CidrBlock()

public PrivateClusterConfig.Builder clearMasterIpv4CidrBlock()

The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_cidr_block = 3;

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

clearPeeringName()

public PrivateClusterConfig.Builder clearPeeringName()

Output only. The peering name in the customer VPC used by this cluster.

string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clearPrivateEndpoint() (deprecated)

public PrivateClusterConfig.Builder clearPrivateEndpoint()

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1453

Output only. The internal IP address of this cluster's master endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.

string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clearPrivateEndpointSubnetwork() (deprecated)

public PrivateClusterConfig.Builder clearPrivateEndpointSubnetwork()

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=1481

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.

string private_endpoint_subnetwork = 10 [deprecated = true];

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clearPublicEndpoint() (deprecated)

public PrivateClusterConfig.Builder clearPublicEndpoint()

Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1461

Output only. The external IP address of this cluster's master endpoint.

Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.

string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

clone()

public PrivateClusterConfig.Builder clone()
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

getDefaultInstanceForType()

public PrivateClusterConfig getDefaultInstanceForType()
Returns
Type Description
PrivateClusterConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnablePrivateEndpoint() (deprecated)

public boolean getEnablePrivateEndpoint()

Deprecated. google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1440

Whether the master's internal IP address is used as the cluster endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.

bool enable_private_endpoint = 2 [deprecated = true];

Returns
Type Description
boolean

The enablePrivateEndpoint.

getEnablePrivateNodes() (deprecated)

public boolean getEnablePrivateNodes()

Deprecated. google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See google/container/v1/cluster_service.proto;l=1432

Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.

Deprecated: Use NetworkConfig.default_enable_private_nodes instead.

bool enable_private_nodes = 1 [deprecated = true];

Returns
Type Description
boolean

The enablePrivateNodes.

getMasterGlobalAccessConfig() (deprecated)

public PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig()

Deprecated. google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. See google/container/v1/cluster_service.proto;l=1472

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Returns
Type Description
PrivateClusterMasterGlobalAccessConfig

The masterGlobalAccessConfig.

getMasterGlobalAccessConfigBuilder() (deprecated)

public PrivateClusterMasterGlobalAccessConfig.Builder getMasterGlobalAccessConfigBuilder()

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Returns
Type Description
PrivateClusterMasterGlobalAccessConfig.Builder

getMasterGlobalAccessConfigOrBuilder() (deprecated)

public PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder()

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Returns
Type Description
PrivateClusterMasterGlobalAccessConfigOrBuilder

getMasterIpv4CidrBlock()

public String getMasterIpv4CidrBlock()

The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_cidr_block = 3;

Returns
Type Description
String

The masterIpv4CidrBlock.

getMasterIpv4CidrBlockBytes()

public ByteString getMasterIpv4CidrBlockBytes()

The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_cidr_block = 3;

Returns
Type Description
ByteString

The bytes for masterIpv4CidrBlock.

getPeeringName()

public String getPeeringName()

Output only. The peering name in the customer VPC used by this cluster.

string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The peeringName.

getPeeringNameBytes()

public ByteString getPeeringNameBytes()

Output only. The peering name in the customer VPC used by this cluster.

string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for peeringName.

getPrivateEndpoint() (deprecated)

public String getPrivateEndpoint()

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1453

Output only. The internal IP address of this cluster's master endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.

string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The privateEndpoint.

getPrivateEndpointBytes() (deprecated)

public ByteString getPrivateEndpointBytes()

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1453

Output only. The internal IP address of this cluster's master endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.

string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for privateEndpoint.

getPrivateEndpointSubnetwork() (deprecated)

public String getPrivateEndpointSubnetwork()

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=1481

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.

string private_endpoint_subnetwork = 10 [deprecated = true];

Returns
Type Description
String

The privateEndpointSubnetwork.

getPrivateEndpointSubnetworkBytes() (deprecated)

public ByteString getPrivateEndpointSubnetworkBytes()

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=1481

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.

string private_endpoint_subnetwork = 10 [deprecated = true];

Returns
Type Description
ByteString

The bytes for privateEndpointSubnetwork.

getPublicEndpoint() (deprecated)

public String getPublicEndpoint()

Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1461

Output only. The external IP address of this cluster's master endpoint.

Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.

string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The publicEndpoint.

getPublicEndpointBytes() (deprecated)

public ByteString getPublicEndpointBytes()

Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1461

Output only. The external IP address of this cluster's master endpoint.

Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.

string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for publicEndpoint.

hasMasterGlobalAccessConfig() (deprecated)

public boolean hasMasterGlobalAccessConfig()

Deprecated. google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. See google/container/v1/cluster_service.proto;l=1472

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Returns
Type Description
boolean

Whether the masterGlobalAccessConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivateClusterConfig other)

public PrivateClusterConfig.Builder mergeFrom(PrivateClusterConfig other)
Parameter
Name Description
other PrivateClusterConfig
Returns
Type Description
PrivateClusterConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivateClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrivateClusterConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

mergeMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value) (deprecated)

public PrivateClusterConfig.Builder mergeMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value)

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Parameter
Name Description
value PrivateClusterMasterGlobalAccessConfig
Returns
Type Description
PrivateClusterConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

setEnablePrivateEndpoint(boolean value) (deprecated)

public PrivateClusterConfig.Builder setEnablePrivateEndpoint(boolean value)

Deprecated. google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1440

Whether the master's internal IP address is used as the cluster endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.

bool enable_private_endpoint = 2 [deprecated = true];

Parameter
Name Description
value boolean

The enablePrivateEndpoint to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setEnablePrivateNodes(boolean value) (deprecated)

public PrivateClusterConfig.Builder setEnablePrivateNodes(boolean value)

Deprecated. google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See google/container/v1/cluster_service.proto;l=1432

Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.

Deprecated: Use NetworkConfig.default_enable_private_nodes instead.

bool enable_private_nodes = 1 [deprecated = true];

Parameter
Name Description
value boolean

The enablePrivateNodes to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value) (deprecated)

public PrivateClusterConfig.Builder setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value)

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Parameter
Name Description
value PrivateClusterMasterGlobalAccessConfig
Returns
Type Description
PrivateClusterConfig.Builder

setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig.Builder builderForValue) (deprecated)

public PrivateClusterConfig.Builder setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig.Builder builderForValue)

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];

Parameter
Name Description
builderForValue PrivateClusterMasterGlobalAccessConfig.Builder
Returns
Type Description
PrivateClusterConfig.Builder

setMasterIpv4CidrBlock(String value)

public PrivateClusterConfig.Builder setMasterIpv4CidrBlock(String value)

The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_cidr_block = 3;

Parameter
Name Description
value String

The masterIpv4CidrBlock to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setMasterIpv4CidrBlockBytes(ByteString value)

public PrivateClusterConfig.Builder setMasterIpv4CidrBlockBytes(ByteString value)

The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_cidr_block = 3;

Parameter
Name Description
value ByteString

The bytes for masterIpv4CidrBlock to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPeeringName(String value)

public PrivateClusterConfig.Builder setPeeringName(String value)

Output only. The peering name in the customer VPC used by this cluster.

string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The peeringName to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPeeringNameBytes(ByteString value)

public PrivateClusterConfig.Builder setPeeringNameBytes(ByteString value)

Output only. The peering name in the customer VPC used by this cluster.

string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for peeringName to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPrivateEndpoint(String value) (deprecated)

public PrivateClusterConfig.Builder setPrivateEndpoint(String value)

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1453

Output only. The internal IP address of this cluster's master endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.

string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The privateEndpoint to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPrivateEndpointBytes(ByteString value) (deprecated)

public PrivateClusterConfig.Builder setPrivateEndpointBytes(ByteString value)

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1453

Output only. The internal IP address of this cluster's master endpoint.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.

string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for privateEndpoint to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPrivateEndpointSubnetwork(String value) (deprecated)

public PrivateClusterConfig.Builder setPrivateEndpointSubnetwork(String value)

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=1481

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.

string private_endpoint_subnetwork = 10 [deprecated = true];

Parameter
Name Description
value String

The privateEndpointSubnetwork to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPrivateEndpointSubnetworkBytes(ByteString value) (deprecated)

public PrivateClusterConfig.Builder setPrivateEndpointSubnetworkBytes(ByteString value)

Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=1481

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.

Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.

string private_endpoint_subnetwork = 10 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for privateEndpointSubnetwork to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPublicEndpoint(String value) (deprecated)

public PrivateClusterConfig.Builder setPublicEndpoint(String value)

Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1461

Output only. The external IP address of this cluster's master endpoint.

Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.

string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The publicEndpoint to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setPublicEndpointBytes(ByteString value) (deprecated)

public PrivateClusterConfig.Builder setPublicEndpointBytes(ByteString value)

Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=1461

Output only. The external IP address of this cluster's master endpoint.

Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.

string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for publicEndpoint to set.

Returns
Type Description
PrivateClusterConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PrivateClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateClusterConfig.Builder
Overrides