Interface ControlPlaneEndpointsConfig.IPEndpointsConfigOrBuilder (2.58.0)

public static interface ControlPlaneEndpointsConfig.IPEndpointsConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorizedNetworksConfig()

public abstract MasterAuthorizedNetworksConfig getAuthorizedNetworksConfig()

Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both [Cluster.masterAuthorizedNetworksConfig][] and this field at the same time.

.google.container.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;

Returns
Type Description
MasterAuthorizedNetworksConfig

The authorizedNetworksConfig.

getAuthorizedNetworksConfigOrBuilder()

public abstract MasterAuthorizedNetworksConfigOrBuilder getAuthorizedNetworksConfigOrBuilder()

Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both [Cluster.masterAuthorizedNetworksConfig][] and this field at the same time.

.google.container.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;

Returns
Type Description
MasterAuthorizedNetworksConfigOrBuilder

getEnablePublicEndpoint()

public abstract boolean getEnablePublicEndpoint()

Controls whether the control plane allows access through a public IP. It is invalid to specify both [PrivateClusterConfig.enablePrivateEndpoint][] and this field at the same time.

optional bool enable_public_endpoint = 2;

Returns
Type Description
boolean

The enablePublicEndpoint.

getEnabled()

public abstract boolean getEnabled()

Controls whether to allow direct IP access.

optional bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getGlobalAccess()

public abstract boolean getGlobalAccess()

Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time.

optional bool global_access = 3;

Returns
Type Description
boolean

The globalAccess.

getPrivateEndpoint()

public abstract String getPrivateEndpoint()

Output only. The internal IP address of this cluster's control plane. Only populated if enabled.

string private_endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The privateEndpoint.

getPrivateEndpointBytes()

public abstract ByteString getPrivateEndpointBytes()

Output only. The internal IP address of this cluster's control plane. Only populated if enabled.

string private_endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for privateEndpoint.

getPrivateEndpointSubnetwork()

public abstract String getPrivateEndpointSubnetwork()

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. It is invalid to specify both [PrivateClusterConfig.privateEndpointSubnetwork][] and this field at the same time.

string private_endpoint_subnetwork = 7;

Returns
Type Description
String

The privateEndpointSubnetwork.

getPrivateEndpointSubnetworkBytes()

public abstract ByteString getPrivateEndpointSubnetworkBytes()

Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. It is invalid to specify both [PrivateClusterConfig.privateEndpointSubnetwork][] and this field at the same time.

string private_endpoint_subnetwork = 7;

Returns
Type Description
ByteString

The bytes for privateEndpointSubnetwork.

getPublicEndpoint()

public abstract String getPublicEndpoint()

Output only. The external IP address of this cluster's control plane. Only populated if enabled.

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

Returns
Type Description
String

The publicEndpoint.

getPublicEndpointBytes()

public abstract ByteString getPublicEndpointBytes()

Output only. The external IP address of this cluster's control plane. Only populated if enabled.

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

Returns
Type Description
ByteString

The bytes for publicEndpoint.

hasAuthorizedNetworksConfig()

public abstract boolean hasAuthorizedNetworksConfig()

Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both [Cluster.masterAuthorizedNetworksConfig][] and this field at the same time.

.google.container.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;

Returns
Type Description
boolean

Whether the authorizedNetworksConfig field is set.

hasEnablePublicEndpoint()

public abstract boolean hasEnablePublicEndpoint()

Controls whether the control plane allows access through a public IP. It is invalid to specify both [PrivateClusterConfig.enablePrivateEndpoint][] and this field at the same time.

optional bool enable_public_endpoint = 2;

Returns
Type Description
boolean

Whether the enablePublicEndpoint field is set.

hasEnabled()

public abstract boolean hasEnabled()

Controls whether to allow direct IP access.

optional bool enabled = 1;

Returns
Type Description
boolean

Whether the enabled field is set.

hasGlobalAccess()

public abstract boolean hasGlobalAccess()

Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time.

optional bool global_access = 3;

Returns
Type Description
boolean

Whether the globalAccess field is set.