Package com.google.cloud.visionai.v1
Class HealthCheckResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HealthCheckResponse.Builder>
com.google.cloud.visionai.v1.HealthCheckResponse.Builder
- All Implemented Interfaces:
HealthCheckResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HealthCheckResponse
public static final class HealthCheckResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HealthCheckResponse.Builder>
implements HealthCheckResponseOrBuilder
HealthCheckResponse is the response message for Check.Protobuf type
google.cloud.visionai.v1.HealthCheckResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Other information of the cluster client may be interested.Indicates whether the cluster is in healthy state or not.Reason of why the cluster is in unhealthy state.Other information of the cluster client may be interested.Other information of the cluster client may be interested.Other information of the cluster client may be interested.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIndicates whether the cluster is in healthy state or not.Reason of why the cluster is in unhealthy state.com.google.protobuf.ByteStringReason of why the cluster is in unhealthy state.booleanOther information of the cluster client may be interested.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeClusterInfo(ClusterInfo value) Other information of the cluster client may be interested.mergeFrom(HealthCheckResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setClusterInfo(ClusterInfo value) Other information of the cluster client may be interested.setClusterInfo(ClusterInfo.Builder builderForValue) Other information of the cluster client may be interested.setHealthy(boolean value) Indicates whether the cluster is in healthy state or not.Reason of why the cluster is in unhealthy state.setReasonBytes(com.google.protobuf.ByteString value) Reason of why the cluster is in unhealthy state.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HealthCheckResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HealthCheckResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HealthCheckResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheckResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HealthCheckResponse.Builder>
-
mergeFrom
public HealthCheckResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheckResponse.Builder>- Throws:
IOException
-
getHealthy
public boolean getHealthy()Indicates whether the cluster is in healthy state or not.
bool healthy = 1;- Specified by:
getHealthyin interfaceHealthCheckResponseOrBuilder- Returns:
- The healthy.
-
setHealthy
Indicates whether the cluster is in healthy state or not.
bool healthy = 1;- Parameters:
value- The healthy to set.- Returns:
- This builder for chaining.
-
clearHealthy
Indicates whether the cluster is in healthy state or not.
bool healthy = 1;- Returns:
- This builder for chaining.
-
getReason
Reason of why the cluster is in unhealthy state.
string reason = 2;- Specified by:
getReasonin interfaceHealthCheckResponseOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()Reason of why the cluster is in unhealthy state.
string reason = 2;- Specified by:
getReasonBytesin interfaceHealthCheckResponseOrBuilder- Returns:
- The bytes for reason.
-
setReason
Reason of why the cluster is in unhealthy state.
string reason = 2;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
Reason of why the cluster is in unhealthy state.
string reason = 2;- Returns:
- This builder for chaining.
-
setReasonBytes
Reason of why the cluster is in unhealthy state.
string reason = 2;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
hasClusterInfo
public boolean hasClusterInfo()Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;- Specified by:
hasClusterInfoin interfaceHealthCheckResponseOrBuilder- Returns:
- Whether the clusterInfo field is set.
-
getClusterInfo
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;- Specified by:
getClusterInfoin interfaceHealthCheckResponseOrBuilder- Returns:
- The clusterInfo.
-
setClusterInfo
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3; -
setClusterInfo
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3; -
mergeClusterInfo
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3; -
clearClusterInfo
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3; -
getClusterInfoBuilder
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3; -
getClusterInfoOrBuilder
Other information of the cluster client may be interested.
.google.cloud.visionai.v1.ClusterInfo cluster_info = 3;- Specified by:
getClusterInfoOrBuilderin interfaceHealthCheckResponseOrBuilder
-