Package grpc.health.v1
Class HealthCheck.HealthCheckResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
- grpc.health.v1.HealthCheck.HealthCheckResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HealthCheck.HealthCheckResponseOrBuilder
,Cloneable
- Enclosing class:
- HealthCheck.HealthCheckResponse
public static final class HealthCheck.HealthCheckResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder> implements HealthCheck.HealthCheckResponseOrBuilder
Protobuf typegrpc.health.v1.HealthCheckResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheck.HealthCheckResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HealthCheck.HealthCheckResponse
build()
HealthCheck.HealthCheckResponse
buildPartial()
HealthCheck.HealthCheckResponse.Builder
clear()
HealthCheck.HealthCheckResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
HealthCheck.HealthCheckResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
HealthCheck.HealthCheckResponse.Builder
clearStatus()
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
HealthCheck.HealthCheckResponse.Builder
clone()
HealthCheck.HealthCheckResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HealthCheck.HealthCheckResponse.ServingStatus
getStatus()
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
int
getStatusValue()
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
HealthCheck.HealthCheckResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HealthCheck.HealthCheckResponse.Builder
mergeFrom(com.google.protobuf.Message other)
HealthCheck.HealthCheckResponse.Builder
mergeFrom(HealthCheck.HealthCheckResponse other)
HealthCheck.HealthCheckResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HealthCheck.HealthCheckResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HealthCheck.HealthCheckResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
HealthCheck.HealthCheckResponse.Builder
setStatus(HealthCheck.HealthCheckResponse.ServingStatus value)
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
HealthCheck.HealthCheckResponse.Builder
setStatusValue(int value)
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
HealthCheck.HealthCheckResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
clear
public HealthCheck.HealthCheckResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
getDefaultInstanceForType
public HealthCheck.HealthCheckResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck.HealthCheckResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck.HealthCheckResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HealthCheck.HealthCheckResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
setField
public HealthCheck.HealthCheckResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
clearField
public HealthCheck.HealthCheckResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
clearOneof
public HealthCheck.HealthCheckResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
setRepeatedField
public HealthCheck.HealthCheckResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
addRepeatedField
public HealthCheck.HealthCheckResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
mergeFrom
public HealthCheck.HealthCheckResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HealthCheckResponse.Builder>
-
mergeFrom
public HealthCheck.HealthCheckResponse.Builder mergeFrom(HealthCheck.HealthCheckResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
mergeFrom
public HealthCheck.HealthCheckResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.HealthCheckResponse.Builder>
- Throws:
IOException
-
getStatusValue
public int getStatusValue()
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
- Specified by:
getStatusValue
in interfaceHealthCheck.HealthCheckResponseOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public HealthCheck.HealthCheckResponse.Builder setStatusValue(int value)
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public HealthCheck.HealthCheckResponse.ServingStatus getStatus()
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
- Specified by:
getStatus
in interfaceHealthCheck.HealthCheckResponseOrBuilder
- Returns:
- The status.
-
setStatus
public HealthCheck.HealthCheckResponse.Builder setStatus(HealthCheck.HealthCheckResponse.ServingStatus value)
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public HealthCheck.HealthCheckResponse.Builder clearStatus()
.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final HealthCheck.HealthCheckResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
mergeUnknownFields
public final HealthCheck.HealthCheckResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.HealthCheckResponse.Builder>
-
-