public final class GetInstanceHealthResponse extends GeneratedMessageV3 implements GetInstanceHealthResponseOrBuilder
Response for checking if a notebook instance is healthy.
Protobuf type google.cloud.notebooks.v1.GetInstanceHealthResponse
Static 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
Static Methods
getDefaultInstance()
public static GetInstanceHealthResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GetInstanceHealthResponse.Builder newBuilder()
Returns
newBuilder(GetInstanceHealthResponse prototype)
public static GetInstanceHealthResponse.Builder newBuilder(GetInstanceHealthResponse prototype)
Parameter
Returns
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
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
getDefaultInstanceForType()
public GetInstanceHealthResponse getDefaultInstanceForType()
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
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
toBuilder()
public GetInstanceHealthResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions