Send feedback
Class GetInstanceHealthResponse (0.6.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.2 keyboard_arrow_down
public final class GetInstanceHealthResponse extends GeneratedMessageV3 implements GetInstanceHealthResponseOrBuilder
Response for checking if a notebook instance is healthy.
Protobuf type google.cloud.notebooks.v1.GetInstanceHealthResponse
Fields
HEALTH_INFO_FIELD_NUMBER
public static final int HEALTH_INFO_FIELD_NUMBER
Field Value
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
Field Value
Methods
containsHealthInfo(String key)
public 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
Returns
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstance()
public static GetInstanceHealthResponse getDefaultInstance ()
Returns
getDefaultInstanceForType()
public GetInstanceHealthResponse getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getHealthInfo()
public Map<String , String > getHealthInfo ()
Returns
getHealthInfoCount()
public 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
getHealthInfoMap()
public 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
getHealthInfoOrDefault(String key, String defaultValue)
public 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
Returns
getHealthInfoOrThrow(String key)
public 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
Returns
getHealthState()
public GetInstanceHealthResponse . HealthState getHealthState ()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getHealthStateValue()
public 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.
getParserForType()
public Parser<GetInstanceHealthResponse> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilder()
public static GetInstanceHealthResponse . Builder newBuilder ()
Returns
newBuilder(GetInstanceHealthResponse prototype)
public static GetInstanceHealthResponse . Builder newBuilder ( GetInstanceHealthResponse prototype )
Parameter
Returns
newBuilderForType()
public GetInstanceHealthResponse . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetInstanceHealthResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public static GetInstanceHealthResponse parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static GetInstanceHealthResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GetInstanceHealthResponse parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GetInstanceHealthResponse parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static GetInstanceHealthResponse parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static GetInstanceHealthResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static GetInstanceHealthResponse parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static GetInstanceHealthResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GetInstanceHealthResponse parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<GetInstanceHealthResponse> parser ()
Returns
toBuilder()
public GetInstanceHealthResponse . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]