Interface GetInstanceHealthResponseOrBuilder (1.40.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
Name Description
key String
Returns
Type Description
boolean

getHealthInfo() (deprecated)

public abstract Map<String,String> getHealthInfo()

Use #getHealthInfoMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for healthState.