public final class GetInstanceHealthResponse extends GeneratedMessageV3 implements GetInstanceHealthResponseOrBuilder
Response for checking if a notebook instance is healthy.
Protobuf type google.cloud.notebooks.v1.GetInstanceHealthResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
HEALTH_INFO_FIELD_NUMBER
public static final int HEALTH_INFO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GetInstanceHealthResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GetInstanceHealthResponse.Builder newBuilder()
newBuilder(GetInstanceHealthResponse prototype)
public static GetInstanceHealthResponse.Builder newBuilder(GetInstanceHealthResponse prototype)
public static GetInstanceHealthResponse parseDelimitedFrom(InputStream input)
public static GetInstanceHealthResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GetInstanceHealthResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GetInstanceHealthResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom(CodedInputStream input)
public static GetInstanceHealthResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom(InputStream input)
public static GetInstanceHealthResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GetInstanceHealthResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetInstanceHealthResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GetInstanceHealthResponse> parser()
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GetInstanceHealthResponse getDefaultInstanceForType()
getHealthInfo()
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.
|
getParserForType()
public Parser<GetInstanceHealthResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GetInstanceHealthResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetInstanceHealthResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GetInstanceHealthResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides