Class RiskScoreParameters.DurationRiskParameters.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.DurationRiskParameters.Builder>
-
- app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters.Builder
-
- All Implemented Interfaces:
RiskScoreParameters.DurationRiskParametersOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RiskScoreParameters.DurationRiskParameters
public static final class RiskScoreParameters.DurationRiskParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.DurationRiskParameters.Builder> implements RiskScoreParameters.DurationRiskParametersOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters
-
-
Method Summary
-
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<RiskScoreParameters.DurationRiskParameters.Builder>
-
clear
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
getDefaultInstanceForType
public RiskScoreParameters.DurationRiskParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RiskScoreParameters.DurationRiskParameters build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RiskScoreParameters.DurationRiskParameters buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
setField
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
clearField
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
clearOneof
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
setRepeatedField
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
addRepeatedField
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
-
mergeFrom
public RiskScoreParameters.DurationRiskParameters.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RiskScoreParameters.DurationRiskParameters.Builder>
-
mergeFrom
public RiskScoreParameters.DurationRiskParameters.Builder mergeFrom(RiskScoreParameters.DurationRiskParameters other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.DurationRiskParameters.Builder>
-
mergeFrom
public RiskScoreParameters.DurationRiskParameters.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<RiskScoreParameters.DurationRiskParameters.Builder>
- Throws:
IOException
-
getEq0MinValue
public int getEq0MinValue()
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Specified by:
getEq0MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for eq0Min.
-
setEq0MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setEq0MinValue(int value)
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Parameters:
value
- The enum numeric value on the wire for eq0Min to set.- Returns:
- This builder for chaining.
-
getEq0Min
public RiskLevel getEq0Min()
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Specified by:
getEq0Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The eq0Min.
-
setEq0Min
public RiskScoreParameters.DurationRiskParameters.Builder setEq0Min(RiskLevel value)
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Parameters:
value
- The eq0Min to set.- Returns:
- This builder for chaining.
-
clearEq0Min
public RiskScoreParameters.DurationRiskParameters.Builder clearEq0Min()
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Returns:
- This builder for chaining.
-
getGt0Le5MinValue
public int getGt0Le5MinValue()
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Specified by:
getGt0Le5MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt0Le5Min.
-
setGt0Le5MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt0Le5MinValue(int value)
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Parameters:
value
- The enum numeric value on the wire for gt0Le5Min to set.- Returns:
- This builder for chaining.
-
getGt0Le5Min
public RiskLevel getGt0Le5Min()
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Specified by:
getGt0Le5Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt0Le5Min.
-
setGt0Le5Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt0Le5Min(RiskLevel value)
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Parameters:
value
- The gt0Le5Min to set.- Returns:
- This builder for chaining.
-
clearGt0Le5Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt0Le5Min()
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Returns:
- This builder for chaining.
-
getGt5Le10MinValue
public int getGt5Le10MinValue()
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Specified by:
getGt5Le10MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt5Le10Min.
-
setGt5Le10MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt5Le10MinValue(int value)
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Parameters:
value
- The enum numeric value on the wire for gt5Le10Min to set.- Returns:
- This builder for chaining.
-
getGt5Le10Min
public RiskLevel getGt5Le10Min()
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Specified by:
getGt5Le10Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt5Le10Min.
-
setGt5Le10Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt5Le10Min(RiskLevel value)
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Parameters:
value
- The gt5Le10Min to set.- Returns:
- This builder for chaining.
-
clearGt5Le10Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt5Le10Min()
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Returns:
- This builder for chaining.
-
getGt10Le15MinValue
public int getGt10Le15MinValue()
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Specified by:
getGt10Le15MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt10Le15Min.
-
setGt10Le15MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt10Le15MinValue(int value)
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Parameters:
value
- The enum numeric value on the wire for gt10Le15Min to set.- Returns:
- This builder for chaining.
-
getGt10Le15Min
public RiskLevel getGt10Le15Min()
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Specified by:
getGt10Le15Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt10Le15Min.
-
setGt10Le15Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt10Le15Min(RiskLevel value)
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Parameters:
value
- The gt10Le15Min to set.- Returns:
- This builder for chaining.
-
clearGt10Le15Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt10Le15Min()
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Returns:
- This builder for chaining.
-
getGt15Le20MinValue
public int getGt15Le20MinValue()
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Specified by:
getGt15Le20MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt15Le20Min.
-
setGt15Le20MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt15Le20MinValue(int value)
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Parameters:
value
- The enum numeric value on the wire for gt15Le20Min to set.- Returns:
- This builder for chaining.
-
getGt15Le20Min
public RiskLevel getGt15Le20Min()
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Specified by:
getGt15Le20Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt15Le20Min.
-
setGt15Le20Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt15Le20Min(RiskLevel value)
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Parameters:
value
- The gt15Le20Min to set.- Returns:
- This builder for chaining.
-
clearGt15Le20Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt15Le20Min()
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Returns:
- This builder for chaining.
-
getGt20Le25MinValue
public int getGt20Le25MinValue()
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Specified by:
getGt20Le25MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt20Le25Min.
-
setGt20Le25MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt20Le25MinValue(int value)
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Parameters:
value
- The enum numeric value on the wire for gt20Le25Min to set.- Returns:
- This builder for chaining.
-
getGt20Le25Min
public RiskLevel getGt20Le25Min()
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Specified by:
getGt20Le25Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt20Le25Min.
-
setGt20Le25Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt20Le25Min(RiskLevel value)
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Parameters:
value
- The gt20Le25Min to set.- Returns:
- This builder for chaining.
-
clearGt20Le25Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt20Le25Min()
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Returns:
- This builder for chaining.
-
getGt25Le30MinValue
public int getGt25Le30MinValue()
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Specified by:
getGt25Le30MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt25Le30Min.
-
setGt25Le30MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt25Le30MinValue(int value)
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Parameters:
value
- The enum numeric value on the wire for gt25Le30Min to set.- Returns:
- This builder for chaining.
-
getGt25Le30Min
public RiskLevel getGt25Le30Min()
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Specified by:
getGt25Le30Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt25Le30Min.
-
setGt25Le30Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt25Le30Min(RiskLevel value)
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Parameters:
value
- The gt25Le30Min to set.- Returns:
- This builder for chaining.
-
clearGt25Le30Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt25Le30Min()
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Returns:
- This builder for chaining.
-
getGt30MinValue
public int getGt30MinValue()
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Specified by:
getGt30MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt30Min.
-
setGt30MinValue
public RiskScoreParameters.DurationRiskParameters.Builder setGt30MinValue(int value)
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Parameters:
value
- The enum numeric value on the wire for gt30Min to set.- Returns:
- This builder for chaining.
-
getGt30Min
public RiskLevel getGt30Min()
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Specified by:
getGt30Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt30Min.
-
setGt30Min
public RiskScoreParameters.DurationRiskParameters.Builder setGt30Min(RiskLevel value)
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Parameters:
value
- The gt30Min to set.- Returns:
- This builder for chaining.
-
clearGt30Min
public RiskScoreParameters.DurationRiskParameters.Builder clearGt30Min()
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final RiskScoreParameters.DurationRiskParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.DurationRiskParameters.Builder>
-
mergeUnknownFields
public final RiskScoreParameters.DurationRiskParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.DurationRiskParameters.Builder>
-
-