Class HealthCheckResponse (0.5.0)

public final class HealthCheckResponse extends GeneratedMessageV3 implements HealthCheckResponseOrBuilder

HealthCheckResponse is the response message for Check.

Protobuf type google.cloud.visionai.v1.HealthCheckResponse

Static Fields

CLUSTER_INFO_FIELD_NUMBER

public static final int CLUSTER_INFO_FIELD_NUMBER
Field Value
Type Description
int

HEALTHY_FIELD_NUMBER

public static final int HEALTHY_FIELD_NUMBER
Field Value
Type Description
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HealthCheckResponse getDefaultInstance()
Returns
Type Description
HealthCheckResponse

getDescriptor()

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

newBuilder()

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

newBuilder(HealthCheckResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClusterInfo()

public ClusterInfo getClusterInfo()

Other information of the cluster client may be interested.

.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;

Returns
Type Description
ClusterInfo

The clusterInfo.

getClusterInfoOrBuilder()

public ClusterInfoOrBuilder getClusterInfoOrBuilder()

Other information of the cluster client may be interested.

.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;

Returns
Type Description
ClusterInfoOrBuilder

getDefaultInstanceForType()

public HealthCheckResponse getDefaultInstanceForType()
Returns
Type Description
HealthCheckResponse

getHealthy()

public boolean getHealthy()

Indicates whether the cluster is in healthy state or not.

bool healthy = 1;

Returns
Type Description
boolean

The healthy.

getParserForType()

public Parser<HealthCheckResponse> getParserForType()
Returns
Type Description
Parser<HealthCheckResponse>
Overrides

getReason()

public String getReason()

Reason of why the cluster is in unhealthy state.

string reason = 2;

Returns
Type Description
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Reason of why the cluster is in unhealthy state.

string reason = 2;

Returns
Type Description
ByteString

The bytes for reason.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasClusterInfo()

public boolean hasClusterInfo()

Other information of the cluster client may be interested.

.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;

Returns
Type Description
boolean

Whether the clusterInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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