Interface ControlPlaneEndpointsConfig.DNSEndpointConfigOrBuilder (2.57.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 GCP-managed services may still use the endpoint even if this is false.

optional bool allow_external_traffic = 3;

Returns
Type Description
boolean

The allowExternalTraffic.

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 GCP-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.