public static final class HealthCheckResponse.Builder extends GeneratedMessage.Builder<HealthCheckResponse.Builder> implements HealthCheckResponseOrBuilderHealthCheckResponse is the response message for Check.
Protobuf type google.cloud.visionai.v1.HealthCheckResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HealthCheckResponse.BuilderImplements
HealthCheckResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HealthCheckResponse build()| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse |
|
buildPartial()
public HealthCheckResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse |
|
clear()
public HealthCheckResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
clearClusterInfo()
public HealthCheckResponse.Builder clearClusterInfo()Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
clearHealthy()
public HealthCheckResponse.Builder clearHealthy()Indicates whether the cluster is in healthy state or not.
bool healthy = 1;
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
This builder for chaining. |
clearReason()
public HealthCheckResponse.Builder clearReason()Reason of why the cluster is in unhealthy state.
string reason = 2;
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
This builder for chaining. |
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. |
getClusterInfoBuilder()
public ClusterInfo.Builder getClusterInfoBuilder()Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;
| Returns | |
|---|---|
| Type | Description |
ClusterInfo.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ClusterInfo |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
mergeFrom(HealthCheckResponse other)
public HealthCheckResponse.Builder mergeFrom(HealthCheckResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
HealthCheckResponse |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HealthCheckResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HealthCheckResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ClusterInfo |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ClusterInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
|
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 |
booleanThe healthy to set. |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
This builder for chaining. |
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 |
StringThe reason to set. |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for reason to set. |
| Returns | |
|---|---|
| Type | Description |
HealthCheckResponse.Builder |
This builder for chaining. |