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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetInstanceHealthResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetInstanceHealthResponse build()
buildPartial()
public GetInstanceHealthResponse buildPartial()
clear()
public GetInstanceHealthResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetInstanceHealthResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHealthInfo()
public GetInstanceHealthResponse.Builder clearHealthInfo()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public GetInstanceHealthResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GetInstanceHealthResponse.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public GetInstanceHealthResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHealthInfo() (deprecated)
public Map<String,String> getHealthInfo()
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 |
---|
Type | Description |
int | |
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];
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];
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 |
---|
Name | Description |
key | String
|
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];
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() (deprecated)
public Map<String,String> getMutableHealthInfo()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetInstanceHealthResponse other)
public GetInstanceHealthResponse.Builder mergeFrom(GetInstanceHealthResponse other)
public GetInstanceHealthResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetInstanceHealthResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetInstanceHealthResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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 |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetInstanceHealthResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetInstanceHealthResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetInstanceHealthResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides