Class HealthCheckResponse.Builder (0.10.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HealthCheckResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HealthCheckResponse.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public HealthCheckResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HealthCheckResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public HealthCheckResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HealthCheckResponse.Builder
Overrides

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.

clone()

public HealthCheckResponse.Builder clone()
Returns
Type Description
HealthCheckResponse.Builder
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.

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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;

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HealthCheckResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HealthCheckResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HealthCheckResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HealthCheckResponse.Builder
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;

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

setField(Descriptors.FieldDescriptor field, Object value)

public HealthCheckResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HealthCheckResponse.Builder
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.

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 String

The 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 ByteString

The bytes for reason to set.

Returns
Type Description
HealthCheckResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HealthCheckResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HealthCheckResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HealthCheckResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HealthCheckResponse.Builder
Overrides