public static final class GetInstanceHealthResponse.Builder extends GeneratedMessageV3.Builder<GetInstanceHealthResponse.Builder> implements GetInstanceHealthResponseOrBuilder
Response for checking if a notebook instance is healthy.
Protobuf type google.cloud.notebooks.v1.GetInstanceHealthResponse
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetInstanceHealthResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetInstanceHealthResponse build()
Returns
buildPartial()
public GetInstanceHealthResponse buildPartial()
Returns
clear()
public GetInstanceHealthResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetInstanceHealthResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHealthInfo()
public GetInstanceHealthResponse.Builder clearHealthInfo()
Returns
clearHealthState()
public GetInstanceHealthResponse.Builder clearHealthState()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetInstanceHealthResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetInstanceHealthResponse.Builder clone()
Returns
Overrides
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
getDefaultInstanceForType()
public GetInstanceHealthResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
getMutableHealthInfo()
public Map<String,String> getMutableHealthInfo()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetInstanceHealthResponse other)
public GetInstanceHealthResponse.Builder mergeFrom(GetInstanceHealthResponse other)
Parameter
Returns
public GetInstanceHealthResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetInstanceHealthResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetInstanceHealthResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllHealthInfo(Map<String,String> values)
public GetInstanceHealthResponse.Builder putAllHealthInfo(Map<String,String> values)
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
putHealthInfo(String key, String value)
public GetInstanceHealthResponse.Builder putHealthInfo(String key, String value)
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
removeHealthInfo(String key)
public GetInstanceHealthResponse.Builder removeHealthInfo(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
setField(Descriptors.FieldDescriptor field, Object value)
public GetInstanceHealthResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHealthState(GetInstanceHealthResponse.HealthState value)
public GetInstanceHealthResponse.Builder setHealthState(GetInstanceHealthResponse.HealthState value)
Output only. Runtime health_state.
.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setHealthStateValue(int value)
public GetInstanceHealthResponse.Builder setHealthStateValue(int value)
Output only. Runtime health_state.
.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for healthState to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetInstanceHealthResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetInstanceHealthResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides