Class Range.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Range.Builder>
-
- app.coronawarn.server.common.protocols.internal.v2.Range.Builder
-
- All Implemented Interfaces:
RangeOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Range
public static final class Range.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Range.Builder> implements RangeOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.Range
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Range.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Range
build()
Range
buildPartial()
Range.Builder
clear()
Range.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Range.Builder
clearMax()
The upper limit of the rangeRange.Builder
clearMaxExclusive()
True if `max` is not part of the range, false otherwiseRange.Builder
clearMin()
The lower limit of the rangeRange.Builder
clearMinExclusive()
True if `min` is not part of the range, false otherwiseRange.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Range.Builder
clone()
Range
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getMax()
The upper limit of the rangeboolean
getMaxExclusive()
True if `max` is not part of the range, false otherwisedouble
getMin()
The lower limit of the rangeboolean
getMinExclusive()
True if `min` is not part of the range, false otherwiseprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Range.Builder
mergeFrom(Range other)
Range.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Range.Builder
mergeFrom(com.google.protobuf.Message other)
Range.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Range.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Range.Builder
setMax(double value)
The upper limit of the rangeRange.Builder
setMaxExclusive(boolean value)
True if `max` is not part of the range, false otherwiseRange.Builder
setMin(double value)
The lower limit of the rangeRange.Builder
setMinExclusive(boolean value)
True if `min` is not part of the range, false otherwiseRange.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Range.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, 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<Range.Builder>
-
clear
public Range.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<Range.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<Range.Builder>
-
getDefaultInstanceForType
public Range getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Range build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Range buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Range.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<Range.Builder>
-
setField
public Range.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<Range.Builder>
-
clearField
public Range.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<Range.Builder>
-
clearOneof
public Range.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<Range.Builder>
-
setRepeatedField
public Range.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<Range.Builder>
-
addRepeatedField
public Range.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<Range.Builder>
-
mergeFrom
public Range.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Range.Builder>
-
mergeFrom
public Range.Builder mergeFrom(Range other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Range.Builder>
-
mergeFrom
public Range.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<Range.Builder>
- Throws:
IOException
-
getMin
public double getMin()
The lower limit of the range
double min = 1;
- Specified by:
getMin
in interfaceRangeOrBuilder
- Returns:
- The min.
-
setMin
public Range.Builder setMin(double value)
The lower limit of the range
double min = 1;
- Parameters:
value
- The min to set.- Returns:
- This builder for chaining.
-
clearMin
public Range.Builder clearMin()
The lower limit of the range
double min = 1;
- Returns:
- This builder for chaining.
-
getMinExclusive
public boolean getMinExclusive()
True if `min` is not part of the range, false otherwise
bool minExclusive = 2;
- Specified by:
getMinExclusive
in interfaceRangeOrBuilder
- Returns:
- The minExclusive.
-
setMinExclusive
public Range.Builder setMinExclusive(boolean value)
True if `min` is not part of the range, false otherwise
bool minExclusive = 2;
- Parameters:
value
- The minExclusive to set.- Returns:
- This builder for chaining.
-
clearMinExclusive
public Range.Builder clearMinExclusive()
True if `min` is not part of the range, false otherwise
bool minExclusive = 2;
- Returns:
- This builder for chaining.
-
getMax
public double getMax()
The upper limit of the range
double max = 3;
- Specified by:
getMax
in interfaceRangeOrBuilder
- Returns:
- The max.
-
setMax
public Range.Builder setMax(double value)
The upper limit of the range
double max = 3;
- Parameters:
value
- The max to set.- Returns:
- This builder for chaining.
-
clearMax
public Range.Builder clearMax()
The upper limit of the range
double max = 3;
- Returns:
- This builder for chaining.
-
getMaxExclusive
public boolean getMaxExclusive()
True if `max` is not part of the range, false otherwise
bool maxExclusive = 4;
- Specified by:
getMaxExclusive
in interfaceRangeOrBuilder
- Returns:
- The maxExclusive.
-
setMaxExclusive
public Range.Builder setMaxExclusive(boolean value)
True if `max` is not part of the range, false otherwise
bool maxExclusive = 4;
- Parameters:
value
- The maxExclusive to set.- Returns:
- This builder for chaining.
-
clearMaxExclusive
public Range.Builder clearMaxExclusive()
True if `max` is not part of the range, false otherwise
bool maxExclusive = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Range.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Range.Builder>
-
mergeUnknownFields
public final Range.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Range.Builder>
-
-