Class RiskScoreParameters.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.Builder>
-
- app.coronawarn.server.common.protocols.internal.RiskScoreParameters.Builder
-
- All Implemented Interfaces:
RiskScoreParametersOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RiskScoreParameters
public static final class RiskScoreParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.Builder> implements RiskScoreParametersOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreParameters
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RiskScoreParameters.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RiskScoreParameters
build()
RiskScoreParameters
buildPartial()
RiskScoreParameters.Builder
clear()
RiskScoreParameters.Builder
clearAttenuation()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
RiskScoreParameters.Builder
clearAttenuationWeight()
double attenuation_weight = 8;
RiskScoreParameters.Builder
clearDaysSinceLastExposure()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
RiskScoreParameters.Builder
clearDaysWeight()
double days_weight = 6;
RiskScoreParameters.Builder
clearDuration()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
RiskScoreParameters.Builder
clearDurationWeight()
double duration_weight = 4;
RiskScoreParameters.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RiskScoreParameters.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RiskScoreParameters.Builder
clearTransmission()
App-specific mappingRiskScoreParameters.Builder
clearTransmissionWeight()
double transmission_weight = 2;
RiskScoreParameters.Builder
clone()
RiskScoreParameters.AttenuationRiskParameters
getAttenuation()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
RiskScoreParameters.AttenuationRiskParameters.Builder
getAttenuationBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
RiskScoreParameters.AttenuationRiskParametersOrBuilder
getAttenuationOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
double
getAttenuationWeight()
double attenuation_weight = 8;
RiskScoreParameters.DaysSinceLastExposureRiskParameters
getDaysSinceLastExposure()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder
getDaysSinceLastExposureBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
RiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
getDaysSinceLastExposureOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
double
getDaysWeight()
double days_weight = 6;
RiskScoreParameters
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RiskScoreParameters.DurationRiskParameters
getDuration()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
RiskScoreParameters.DurationRiskParameters.Builder
getDurationBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
RiskScoreParameters.DurationRiskParametersOrBuilder
getDurationOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
double
getDurationWeight()
double duration_weight = 4;
RiskScoreParameters.TransmissionRiskParameters
getTransmission()
App-specific mappingRiskScoreParameters.TransmissionRiskParameters.Builder
getTransmissionBuilder()
App-specific mappingRiskScoreParameters.TransmissionRiskParametersOrBuilder
getTransmissionOrBuilder()
App-specific mappingdouble
getTransmissionWeight()
double transmission_weight = 2;
boolean
hasAttenuation()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
boolean
hasDaysSinceLastExposure()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
boolean
hasDuration()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
boolean
hasTransmission()
App-specific mappingprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RiskScoreParameters.Builder
mergeAttenuation(RiskScoreParameters.AttenuationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
RiskScoreParameters.Builder
mergeDaysSinceLastExposure(RiskScoreParameters.DaysSinceLastExposureRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
RiskScoreParameters.Builder
mergeDuration(RiskScoreParameters.DurationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
RiskScoreParameters.Builder
mergeFrom(RiskScoreParameters other)
RiskScoreParameters.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RiskScoreParameters.Builder
mergeFrom(com.google.protobuf.Message other)
RiskScoreParameters.Builder
mergeTransmission(RiskScoreParameters.TransmissionRiskParameters value)
App-specific mappingRiskScoreParameters.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RiskScoreParameters.Builder
setAttenuation(RiskScoreParameters.AttenuationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
RiskScoreParameters.Builder
setAttenuation(RiskScoreParameters.AttenuationRiskParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
RiskScoreParameters.Builder
setAttenuationWeight(double value)
double attenuation_weight = 8;
RiskScoreParameters.Builder
setDaysSinceLastExposure(RiskScoreParameters.DaysSinceLastExposureRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
RiskScoreParameters.Builder
setDaysSinceLastExposure(RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
RiskScoreParameters.Builder
setDaysWeight(double value)
double days_weight = 6;
RiskScoreParameters.Builder
setDuration(RiskScoreParameters.DurationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
RiskScoreParameters.Builder
setDuration(RiskScoreParameters.DurationRiskParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
RiskScoreParameters.Builder
setDurationWeight(double value)
double duration_weight = 4;
RiskScoreParameters.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RiskScoreParameters.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RiskScoreParameters.Builder
setTransmission(RiskScoreParameters.TransmissionRiskParameters value)
App-specific mappingRiskScoreParameters.Builder
setTransmission(RiskScoreParameters.TransmissionRiskParameters.Builder builderForValue)
App-specific mappingRiskScoreParameters.Builder
setTransmissionWeight(double value)
double transmission_weight = 2;
RiskScoreParameters.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<RiskScoreParameters.Builder>
-
clear
public RiskScoreParameters.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.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.Builder>
-
getDefaultInstanceForType
public RiskScoreParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RiskScoreParameters build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RiskScoreParameters buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RiskScoreParameters.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.Builder>
-
setField
public RiskScoreParameters.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.Builder>
-
clearField
public RiskScoreParameters.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.Builder>
-
clearOneof
public RiskScoreParameters.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.Builder>
-
setRepeatedField
public RiskScoreParameters.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.Builder>
-
addRepeatedField
public RiskScoreParameters.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.Builder>
-
mergeFrom
public RiskScoreParameters.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.Builder>
-
mergeFrom
public RiskScoreParameters.Builder mergeFrom(RiskScoreParameters other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RiskScoreParameters.Builder>
-
mergeFrom
public RiskScoreParameters.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.Builder>
- Throws:
IOException
-
hasTransmission
public boolean hasTransmission()
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
- Specified by:
hasTransmission
in interfaceRiskScoreParametersOrBuilder
- Returns:
- Whether the transmission field is set.
-
getTransmission
public RiskScoreParameters.TransmissionRiskParameters getTransmission()
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
- Specified by:
getTransmission
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The transmission.
-
setTransmission
public RiskScoreParameters.Builder setTransmission(RiskScoreParameters.TransmissionRiskParameters value)
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
-
setTransmission
public RiskScoreParameters.Builder setTransmission(RiskScoreParameters.TransmissionRiskParameters.Builder builderForValue)
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
-
mergeTransmission
public RiskScoreParameters.Builder mergeTransmission(RiskScoreParameters.TransmissionRiskParameters value)
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
-
clearTransmission
public RiskScoreParameters.Builder clearTransmission()
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
-
getTransmissionBuilder
public RiskScoreParameters.TransmissionRiskParameters.Builder getTransmissionBuilder()
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
-
getTransmissionOrBuilder
public RiskScoreParameters.TransmissionRiskParametersOrBuilder getTransmissionOrBuilder()
App-specific mapping
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.TransmissionRiskParameters transmission = 1;
- Specified by:
getTransmissionOrBuilder
in interfaceRiskScoreParametersOrBuilder
-
getTransmissionWeight
public double getTransmissionWeight()
double transmission_weight = 2;
- Specified by:
getTransmissionWeight
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The transmissionWeight.
-
setTransmissionWeight
public RiskScoreParameters.Builder setTransmissionWeight(double value)
double transmission_weight = 2;
- Parameters:
value
- The transmissionWeight to set.- Returns:
- This builder for chaining.
-
clearTransmissionWeight
public RiskScoreParameters.Builder clearTransmissionWeight()
double transmission_weight = 2;
- Returns:
- This builder for chaining.
-
hasDuration
public boolean hasDuration()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
- Specified by:
hasDuration
in interfaceRiskScoreParametersOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public RiskScoreParameters.DurationRiskParameters getDuration()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
- Specified by:
getDuration
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The duration.
-
setDuration
public RiskScoreParameters.Builder setDuration(RiskScoreParameters.DurationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
-
setDuration
public RiskScoreParameters.Builder setDuration(RiskScoreParameters.DurationRiskParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
-
mergeDuration
public RiskScoreParameters.Builder mergeDuration(RiskScoreParameters.DurationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
-
clearDuration
public RiskScoreParameters.Builder clearDuration()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
-
getDurationBuilder
public RiskScoreParameters.DurationRiskParameters.Builder getDurationBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
-
getDurationOrBuilder
public RiskScoreParameters.DurationRiskParametersOrBuilder getDurationOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters duration = 3;
- Specified by:
getDurationOrBuilder
in interfaceRiskScoreParametersOrBuilder
-
getDurationWeight
public double getDurationWeight()
double duration_weight = 4;
- Specified by:
getDurationWeight
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The durationWeight.
-
setDurationWeight
public RiskScoreParameters.Builder setDurationWeight(double value)
double duration_weight = 4;
- Parameters:
value
- The durationWeight to set.- Returns:
- This builder for chaining.
-
clearDurationWeight
public RiskScoreParameters.Builder clearDurationWeight()
double duration_weight = 4;
- Returns:
- This builder for chaining.
-
hasDaysSinceLastExposure
public boolean hasDaysSinceLastExposure()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
- Specified by:
hasDaysSinceLastExposure
in interfaceRiskScoreParametersOrBuilder
- Returns:
- Whether the daysSinceLastExposure field is set.
-
getDaysSinceLastExposure
public RiskScoreParameters.DaysSinceLastExposureRiskParameters getDaysSinceLastExposure()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
- Specified by:
getDaysSinceLastExposure
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The daysSinceLastExposure.
-
setDaysSinceLastExposure
public RiskScoreParameters.Builder setDaysSinceLastExposure(RiskScoreParameters.DaysSinceLastExposureRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
-
setDaysSinceLastExposure
public RiskScoreParameters.Builder setDaysSinceLastExposure(RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
-
mergeDaysSinceLastExposure
public RiskScoreParameters.Builder mergeDaysSinceLastExposure(RiskScoreParameters.DaysSinceLastExposureRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
-
clearDaysSinceLastExposure
public RiskScoreParameters.Builder clearDaysSinceLastExposure()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
-
getDaysSinceLastExposureBuilder
public RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder getDaysSinceLastExposureBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
-
getDaysSinceLastExposureOrBuilder
public RiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder getDaysSinceLastExposureOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters days_since_last_exposure = 5;
- Specified by:
getDaysSinceLastExposureOrBuilder
in interfaceRiskScoreParametersOrBuilder
-
getDaysWeight
public double getDaysWeight()
double days_weight = 6;
- Specified by:
getDaysWeight
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The daysWeight.
-
setDaysWeight
public RiskScoreParameters.Builder setDaysWeight(double value)
double days_weight = 6;
- Parameters:
value
- The daysWeight to set.- Returns:
- This builder for chaining.
-
clearDaysWeight
public RiskScoreParameters.Builder clearDaysWeight()
double days_weight = 6;
- Returns:
- This builder for chaining.
-
hasAttenuation
public boolean hasAttenuation()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
- Specified by:
hasAttenuation
in interfaceRiskScoreParametersOrBuilder
- Returns:
- Whether the attenuation field is set.
-
getAttenuation
public RiskScoreParameters.AttenuationRiskParameters getAttenuation()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
- Specified by:
getAttenuation
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The attenuation.
-
setAttenuation
public RiskScoreParameters.Builder setAttenuation(RiskScoreParameters.AttenuationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
-
setAttenuation
public RiskScoreParameters.Builder setAttenuation(RiskScoreParameters.AttenuationRiskParameters.Builder builderForValue)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
-
mergeAttenuation
public RiskScoreParameters.Builder mergeAttenuation(RiskScoreParameters.AttenuationRiskParameters value)
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
-
clearAttenuation
public RiskScoreParameters.Builder clearAttenuation()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
-
getAttenuationBuilder
public RiskScoreParameters.AttenuationRiskParameters.Builder getAttenuationBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
-
getAttenuationOrBuilder
public RiskScoreParameters.AttenuationRiskParametersOrBuilder getAttenuationOrBuilder()
.app.coronawarn.server.common.protocols.internal.RiskScoreParameters.AttenuationRiskParameters attenuation = 7;
- Specified by:
getAttenuationOrBuilder
in interfaceRiskScoreParametersOrBuilder
-
getAttenuationWeight
public double getAttenuationWeight()
double attenuation_weight = 8;
- Specified by:
getAttenuationWeight
in interfaceRiskScoreParametersOrBuilder
- Returns:
- The attenuationWeight.
-
setAttenuationWeight
public RiskScoreParameters.Builder setAttenuationWeight(double value)
double attenuation_weight = 8;
- Parameters:
value
- The attenuationWeight to set.- Returns:
- This builder for chaining.
-
clearAttenuationWeight
public RiskScoreParameters.Builder clearAttenuationWeight()
double attenuation_weight = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final RiskScoreParameters.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.Builder>
-
mergeUnknownFields
public final RiskScoreParameters.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.Builder>
-
-