Interface EndpointConfigOrBuilder (4.17.0)

public interface EndpointConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsHttpPorts(String key)

public abstract boolean containsHttpPorts(String key)

Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.

map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getEnableHttpPortAccess()

public abstract boolean getEnableHttpPortAccess()

Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.

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

Returns
TypeDescription
boolean

The enableHttpPortAccess.

getHttpPorts()

public abstract Map<String,String> getHttpPorts()

Use #getHttpPortsMap() instead.

Returns
TypeDescription
Map<String,String>

getHttpPortsCount()

public abstract int getHttpPortsCount()

Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.

map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getHttpPortsMap()

public abstract Map<String,String> getHttpPortsMap()

Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.

map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Map<String,String>

getHttpPortsOrDefault(String key, String defaultValue)

public abstract String getHttpPortsOrDefault(String key, String defaultValue)

Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.

map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getHttpPortsOrThrow(String key)

public abstract String getHttpPortsOrThrow(String key)

Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.

map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
String