Class Thresholds.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Thresholds.Builder>
-
- app.coronawarn.server.common.protocols.internal.Thresholds.Builder
-
- All Implemented Interfaces:
ThresholdsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Thresholds
public static final class Thresholds.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Thresholds.Builder> implements ThresholdsOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.Thresholds
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Thresholds.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Thresholds
build()
Thresholds
buildPartial()
Thresholds.Builder
clear()
Thresholds.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Thresholds.Builder
clearLower()
int32 lower = 1;
Thresholds.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Thresholds.Builder
clearUpper()
int32 upper = 2;
Thresholds.Builder
clone()
Thresholds
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getLower()
int32 lower = 1;
int
getUpper()
int32 upper = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Thresholds.Builder
mergeFrom(Thresholds other)
Thresholds.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Thresholds.Builder
mergeFrom(com.google.protobuf.Message other)
Thresholds.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Thresholds.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Thresholds.Builder
setLower(int value)
int32 lower = 1;
Thresholds.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Thresholds.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Thresholds.Builder
setUpper(int value)
int32 upper = 2;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<Thresholds.Builder>
-
clear
public Thresholds.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<Thresholds.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<Thresholds.Builder>
-
getDefaultInstanceForType
public Thresholds getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Thresholds build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Thresholds buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Thresholds.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<Thresholds.Builder>
-
setField
public Thresholds.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<Thresholds.Builder>
-
clearField
public Thresholds.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<Thresholds.Builder>
-
clearOneof
public Thresholds.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<Thresholds.Builder>
-
setRepeatedField
public Thresholds.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<Thresholds.Builder>
-
addRepeatedField
public Thresholds.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<Thresholds.Builder>
-
mergeFrom
public Thresholds.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Thresholds.Builder>
-
mergeFrom
public Thresholds.Builder mergeFrom(Thresholds other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Thresholds.Builder>
-
mergeFrom
public Thresholds.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<Thresholds.Builder>
- Throws:
IOException
-
getLower
public int getLower()
int32 lower = 1;
- Specified by:
getLower
in interfaceThresholdsOrBuilder
- Returns:
- The lower.
-
setLower
public Thresholds.Builder setLower(int value)
int32 lower = 1;
- Parameters:
value
- The lower to set.- Returns:
- This builder for chaining.
-
clearLower
public Thresholds.Builder clearLower()
int32 lower = 1;
- Returns:
- This builder for chaining.
-
getUpper
public int getUpper()
int32 upper = 2;
- Specified by:
getUpper
in interfaceThresholdsOrBuilder
- Returns:
- The upper.
-
setUpper
public Thresholds.Builder setUpper(int value)
int32 upper = 2;
- Parameters:
value
- The upper to set.- Returns:
- This builder for chaining.
-
clearUpper
public Thresholds.Builder clearUpper()
int32 upper = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Thresholds.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Thresholds.Builder>
-
mergeUnknownFields
public final Thresholds.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Thresholds.Builder>
-
-