public final class HealthCheckResponse extends GeneratedMessageV3 implements HealthCheckResponseOrBuilder
HealthCheckResponse is the response message for Check.
Protobuf type google.cloud.visionai.v1.HealthCheckResponse
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HealthCheckResponse.Builder newBuilder()
newBuilder(HealthCheckResponse prototype)
public static HealthCheckResponse.Builder newBuilder(HealthCheckResponse prototype)
public static HealthCheckResponse parseDelimitedFrom(InputStream input)
public static HealthCheckResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HealthCheckResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HealthCheckResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HealthCheckResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HealthCheckResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HealthCheckResponse parseFrom(CodedInputStream input)
public static HealthCheckResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HealthCheckResponse parseFrom(InputStream input)
public static HealthCheckResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HealthCheckResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HealthCheckResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HealthCheckResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getClusterInfo()
public ClusterInfo getClusterInfo()
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
getClusterInfoOrBuilder()
public ClusterInfoOrBuilder getClusterInfoOrBuilder()
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
getDefaultInstanceForType()
public HealthCheckResponse getDefaultInstanceForType()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HealthCheckResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HealthCheckResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HealthCheckResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides