Send feedback
Class HealthCheckResponse.Builder (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.12.0 keyboard_arrow_down
public static final class HealthCheckResponse . Builder extends GeneratedMessageV3 . Builder<HealthCheckResponse . Builder > implements HealthCheckResponseOrBuilder
HealthCheckResponse is the response message for Check.
Protobuf type google.cloud.visionai.v1.HealthCheckResponse
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 HealthCheckResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public HealthCheckResponse build ()
buildPartial()
public HealthCheckResponse buildPartial ()
clear()
public HealthCheckResponse . Builder clear ()
Overrides
clearClusterInfo()
public HealthCheckResponse . Builder clearClusterInfo ()
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
clearField(Descriptors.FieldDescriptor field)
public HealthCheckResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearHealthy()
public HealthCheckResponse . Builder clearHealthy ()
Indicates whether the cluster is in healthy state or not.
bool healthy = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public HealthCheckResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearReason()
public HealthCheckResponse . Builder clearReason ()
Reason of why the cluster is in unhealthy state.
string reason = 2;
clone()
public HealthCheckResponse . Builder clone ()
Overrides
getClusterInfo()
public ClusterInfo getClusterInfo ()
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
getClusterInfoBuilder()
public ClusterInfo . Builder getClusterInfoBuilder ()
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getHealthy()
public boolean getHealthy ()
Indicates whether the cluster is in healthy state or not.
bool healthy = 1;
Returns
Type
Description
boolean
The healthy.
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.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeClusterInfo(ClusterInfo value)
public HealthCheckResponse . Builder mergeClusterInfo ( ClusterInfo value )
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
mergeFrom(HealthCheckResponse other)
public HealthCheckResponse . Builder mergeFrom ( HealthCheckResponse other )
public HealthCheckResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public HealthCheckResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HealthCheckResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setClusterInfo(ClusterInfo value)
public HealthCheckResponse . Builder setClusterInfo ( ClusterInfo value )
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
setClusterInfo(ClusterInfo.Builder builderForValue)
public HealthCheckResponse . Builder setClusterInfo ( ClusterInfo . Builder builderForValue )
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public HealthCheckResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setHealthy(boolean value)
public HealthCheckResponse . Builder setHealthy ( boolean value )
Indicates whether the cluster is in healthy state or not.
bool healthy = 1;
Parameter
Name
Description
value
boolean
The healthy to set.
setReason(String value)
public HealthCheckResponse . Builder setReason ( String value )
Reason of why the cluster is in unhealthy state.
string reason = 2;
Parameter
Name
Description
value
String
The reason to set.
setReasonBytes(ByteString value)
public HealthCheckResponse . Builder setReasonBytes ( ByteString value )
Reason of why the cluster is in unhealthy state.
string reason = 2;
Parameter
Name
Description
value
ByteString
The bytes for reason to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HealthCheckResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HealthCheckResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]