Interface ControlPlaneEndpointsConfig.DNSEndpointConfigOrBuilder (2.81.0)

public static interface ControlPlaneEndpointsConfig.DNSEndpointConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowExternalTraffic()

public abstract boolean getAllowExternalTraffic()

Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false.

optional bool allow_external_traffic = 3;

Returns
Type Description
boolean

The allowExternalTraffic.

getEnableK8SCertsViaDns()

public abstract boolean getEnableK8SCertsViaDns()

Controls whether the k8s certs auth is allowed via DNS.

optional bool enable_k8s_certs_via_dns = 6;

Returns
Type Description
boolean

The enableK8sCertsViaDns.

getEnableK8STokensViaDns()

public abstract boolean getEnableK8STokensViaDns()

Controls whether the k8s token auth is allowed via DNS.

optional bool enable_k8s_tokens_via_dns = 5;

Returns
Type Description
boolean

The enableK8sTokensViaDns.

getEndpoint()

public abstract String getEndpoint()

Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public abstract ByteString getEndpointBytes()

Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for endpoint.

hasAllowExternalTraffic()

public abstract boolean hasAllowExternalTraffic()

Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false.

optional bool allow_external_traffic = 3;

Returns
Type Description
boolean

Whether the allowExternalTraffic field is set.

hasEnableK8SCertsViaDns()

public abstract boolean hasEnableK8SCertsViaDns()

Controls whether the k8s certs auth is allowed via DNS.

optional bool enable_k8s_certs_via_dns = 6;

Returns
Type Description
boolean

Whether the enableK8sCertsViaDns field is set.

hasEnableK8STokensViaDns()

public abstract boolean hasEnableK8STokensViaDns()

Controls whether the k8s token auth is allowed via DNS.

optional bool enable_k8s_tokens_via_dns = 5;

Returns
Type Description
boolean

Whether the enableK8sTokensViaDns field is set.