Interface GkeClusterOrBuilder (1.53.0)

public interface GkeClusterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCluster()

public abstract String getCluster()

Optional. Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.

string cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cluster.

getClusterBytes()

public abstract ByteString getClusterBytes()

Optional. Information specifying a GKE Cluster. Format is projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.

string cluster = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cluster.

getDnsEndpoint()

public abstract boolean getDnsEndpoint()

Optional. If set, the cluster will be accessed using the DNS endpoint. Note that dns_endpoint and internal_ip cannot both be set to true.

bool dns_endpoint = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The dnsEndpoint.

getInternalIp()

public abstract boolean getInternalIp()

Optional. If true, cluster is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise.

Only specify this option when cluster is a private GKE cluster. Note that internal_ip and dns_endpoint cannot both be set to true.

bool internal_ip = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The internalIp.

getProxyUrl()

public abstract String getProxyUrl()

Optional. If set, used to configure a proxy to the Kubernetes server.

string proxy_url = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The proxyUrl.

getProxyUrlBytes()

public abstract ByteString getProxyUrlBytes()

Optional. If set, used to configure a proxy to the Kubernetes server.

string proxy_url = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for proxyUrl.