Class GetInstanceHealthResponse (1.53.0)

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
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()
Returns
Type Description
GetInstanceHealthResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GetInstanceHealthResponse.Builder newBuilder()
Returns
Type Description
GetInstanceHealthResponse.Builder

newBuilder(GetInstanceHealthResponse prototype)

public static GetInstanceHealthResponse.Builder newBuilder(GetInstanceHealthResponse prototype)
Parameter
Name Description
prototype GetInstanceHealthResponse
Returns
Type Description
GetInstanceHealthResponse.Builder

parseDelimitedFrom(InputStream input)

public static GetInstanceHealthResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetInstanceHealthResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetInstanceHealthResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetInstanceHealthResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetInstanceHealthResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetInstanceHealthResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetInstanceHealthResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetInstanceHealthResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetInstanceHealthResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetInstanceHealthResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetInstanceHealthResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetInstanceHealthResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetInstanceHealthResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetInstanceHealthResponse> parser()
Returns
Type Description
Parser<GetInstanceHealthResponse>

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
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetInstanceHealthResponse getDefaultInstanceForType()
Returns
Type Description
GetInstanceHealthResponse

getHealthInfo() (deprecated)

public Map<String,String> getHealthInfo()

Use #getHealthInfoMap() instead.

Returns
Type Description
Map<String,String>

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];

Returns
Type Description
Map<String,String>

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
Name Description
key String
defaultValue String
Returns
Type Description
String

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
Returns
Type Description
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];

Returns
Type Description
GetInstanceHealthResponse.HealthState

The healthState.

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
Type Description
Parser<GetInstanceHealthResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetInstanceHealthResponse.Builder newBuilderForType()
Returns
Type Description
GetInstanceHealthResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetInstanceHealthResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetInstanceHealthResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetInstanceHealthResponse.Builder toBuilder()
Returns
Type Description
GetInstanceHealthResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException