Interface GetInstanceHealthResponseOrBuilder (1.37.0)

public interface GetInstanceHealthResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsHealthInfo(String key)

public abstract boolean containsHealthInfo(String key)

Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

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

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getHealthInfo() (deprecated)

public abstract Map<String,String> getHealthInfo()

Use #getHealthInfoMap() instead.

Returns
TypeDescription
Map<String,String>

getHealthInfoCount()

public abstract int getHealthInfoCount()

Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

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

Returns
TypeDescription
int

getHealthInfoMap()

public abstract Map<String,String> getHealthInfoMap()

Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

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

Returns
TypeDescription
Map<String,String>

getHealthInfoOrDefault(String key, String defaultValue)

public abstract String getHealthInfoOrDefault(String key, String defaultValue)

Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

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

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getHealthInfoOrThrow(String key)

public abstract String getHealthInfoOrThrow(String key)

Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

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

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getHealthState()

public abstract GetInstanceHealthResponse.HealthState getHealthState()

Output only. Runtime health_state.

.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
GetInstanceHealthResponse.HealthState

The healthState.

getHealthStateValue()

public abstract int getHealthStateValue()

Output only. Runtime health_state.

.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for healthState.