Class ExposureConfiguration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
- app.coronawarn.server.common.protocols.internal.v2.ExposureConfiguration.Builder
-
- All Implemented Interfaces:
ExposureConfigurationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExposureConfiguration
public static final class ExposureConfiguration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder> implements ExposureConfigurationOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.ExposureConfiguration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExposureConfiguration.Builder
addAllAttenuationDurationThresholds(Iterable<? extends Integer> values)
repeated int32 attenuationDurationThresholds = 3;
ExposureConfiguration.Builder
addAttenuationDurationThresholds(int value)
repeated int32 attenuationDurationThresholds = 3;
ExposureConfiguration.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExposureConfiguration
build()
ExposureConfiguration
buildPartial()
ExposureConfiguration.Builder
clear()
ExposureConfiguration.Builder
clearAttenuationDurationThresholds()
repeated int32 attenuationDurationThresholds = 3;
ExposureConfiguration.Builder
clearDaysSinceLastExposureThreshold()
int32 daysSinceLastExposureThreshold = 8;
ExposureConfiguration.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExposureConfiguration.Builder
clearImmediateDurationWeight()
double immediateDurationWeight = 4;
ExposureConfiguration.Builder
clearInfectiousnessForDaysSinceOnsetOfSymptoms()
ExposureConfiguration.Builder
clearInfectiousnessHighWeight()
double infectiousnessHighWeight = 10;
ExposureConfiguration.Builder
clearInfectiousnessStandardWeight()
double infectiousnessStandardWeight = 9;
ExposureConfiguration.Builder
clearMediumDurationWeight()
double mediumDurationWeight = 5;
ExposureConfiguration.Builder
clearNearDurationWeight()
double nearDurationWeight = 6;
ExposureConfiguration.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExposureConfiguration.Builder
clearOtherDurationWeight()
double otherDurationWeight = 7;
ExposureConfiguration.Builder
clearReportTypeConfirmedClinicalDiagnosisWeight()
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
ExposureConfiguration.Builder
clearReportTypeConfirmedTestWeight()
double reportTypeConfirmedTestWeight = 11;
ExposureConfiguration.Builder
clearReportTypeNoneMap()
int32 reportTypeNoneMap = 2;
ExposureConfiguration.Builder
clearReportTypeRecursiveWeight()
double reportTypeRecursiveWeight = 14;
ExposureConfiguration.Builder
clearReportTypeSelfReportedWeight()
double reportTypeSelfReportedWeight = 13;
ExposureConfiguration.Builder
clone()
boolean
containsInfectiousnessForDaysSinceOnsetOfSymptoms(int key)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
int
getAttenuationDurationThresholds(int index)
repeated int32 attenuationDurationThresholds = 3;
int
getAttenuationDurationThresholdsCount()
repeated int32 attenuationDurationThresholds = 3;
List<Integer>
getAttenuationDurationThresholdsList()
repeated int32 attenuationDurationThresholds = 3;
int
getDaysSinceLastExposureThreshold()
int32 daysSinceLastExposureThreshold = 8;
ExposureConfiguration
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getImmediateDurationWeight()
double immediateDurationWeight = 4;
Map<Integer,Integer>
getInfectiousnessForDaysSinceOnsetOfSymptoms()
Deprecated.int
getInfectiousnessForDaysSinceOnsetOfSymptomsCount()
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
Map<Integer,Integer>
getInfectiousnessForDaysSinceOnsetOfSymptomsMap()
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
int
getInfectiousnessForDaysSinceOnsetOfSymptomsOrDefault(int key, int defaultValue)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
int
getInfectiousnessForDaysSinceOnsetOfSymptomsOrThrow(int key)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
double
getInfectiousnessHighWeight()
double infectiousnessHighWeight = 10;
double
getInfectiousnessStandardWeight()
double infectiousnessStandardWeight = 9;
double
getMediumDurationWeight()
double mediumDurationWeight = 5;
Map<Integer,Integer>
getMutableInfectiousnessForDaysSinceOnsetOfSymptoms()
Deprecated.double
getNearDurationWeight()
double nearDurationWeight = 6;
double
getOtherDurationWeight()
double otherDurationWeight = 7;
double
getReportTypeConfirmedClinicalDiagnosisWeight()
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
double
getReportTypeConfirmedTestWeight()
double reportTypeConfirmedTestWeight = 11;
int
getReportTypeNoneMap()
int32 reportTypeNoneMap = 2;
double
getReportTypeRecursiveWeight()
double reportTypeRecursiveWeight = 14;
double
getReportTypeSelfReportedWeight()
double reportTypeSelfReportedWeight = 13;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ExposureConfiguration.Builder
mergeFrom(ExposureConfiguration other)
ExposureConfiguration.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExposureConfiguration.Builder
mergeFrom(com.google.protobuf.Message other)
ExposureConfiguration.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExposureConfiguration.Builder
putAllInfectiousnessForDaysSinceOnsetOfSymptoms(Map<Integer,Integer> values)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
ExposureConfiguration.Builder
putInfectiousnessForDaysSinceOnsetOfSymptoms(int key, int value)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
ExposureConfiguration.Builder
removeInfectiousnessForDaysSinceOnsetOfSymptoms(int key)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
ExposureConfiguration.Builder
setAttenuationDurationThresholds(int index, int value)
repeated int32 attenuationDurationThresholds = 3;
ExposureConfiguration.Builder
setDaysSinceLastExposureThreshold(int value)
int32 daysSinceLastExposureThreshold = 8;
ExposureConfiguration.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExposureConfiguration.Builder
setImmediateDurationWeight(double value)
double immediateDurationWeight = 4;
ExposureConfiguration.Builder
setInfectiousnessHighWeight(double value)
double infectiousnessHighWeight = 10;
ExposureConfiguration.Builder
setInfectiousnessStandardWeight(double value)
double infectiousnessStandardWeight = 9;
ExposureConfiguration.Builder
setMediumDurationWeight(double value)
double mediumDurationWeight = 5;
ExposureConfiguration.Builder
setNearDurationWeight(double value)
double nearDurationWeight = 6;
ExposureConfiguration.Builder
setOtherDurationWeight(double value)
double otherDurationWeight = 7;
ExposureConfiguration.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExposureConfiguration.Builder
setReportTypeConfirmedClinicalDiagnosisWeight(double value)
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
ExposureConfiguration.Builder
setReportTypeConfirmedTestWeight(double value)
double reportTypeConfirmedTestWeight = 11;
ExposureConfiguration.Builder
setReportTypeNoneMap(int value)
int32 reportTypeNoneMap = 2;
ExposureConfiguration.Builder
setReportTypeRecursiveWeight(double value)
double reportTypeRecursiveWeight = 14;
ExposureConfiguration.Builder
setReportTypeSelfReportedWeight(double value)
double reportTypeSelfReportedWeight = 13;
ExposureConfiguration.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
clear
public ExposureConfiguration.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<ExposureConfiguration.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<ExposureConfiguration.Builder>
-
getDefaultInstanceForType
public ExposureConfiguration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExposureConfiguration build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExposureConfiguration buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExposureConfiguration.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<ExposureConfiguration.Builder>
-
setField
public ExposureConfiguration.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<ExposureConfiguration.Builder>
-
clearField
public ExposureConfiguration.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<ExposureConfiguration.Builder>
-
clearOneof
public ExposureConfiguration.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<ExposureConfiguration.Builder>
-
setRepeatedField
public ExposureConfiguration.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<ExposureConfiguration.Builder>
-
addRepeatedField
public ExposureConfiguration.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<ExposureConfiguration.Builder>
-
mergeFrom
public ExposureConfiguration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExposureConfiguration.Builder>
-
mergeFrom
public ExposureConfiguration.Builder mergeFrom(ExposureConfiguration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
mergeFrom
public ExposureConfiguration.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<ExposureConfiguration.Builder>
- Throws:
IOException
-
getInfectiousnessForDaysSinceOnsetOfSymptomsCount
public int getInfectiousnessForDaysSinceOnsetOfSymptomsCount()
Description copied from interface:ExposureConfigurationOrBuilder
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
- Specified by:
getInfectiousnessForDaysSinceOnsetOfSymptomsCount
in interfaceExposureConfigurationOrBuilder
-
containsInfectiousnessForDaysSinceOnsetOfSymptoms
public boolean containsInfectiousnessForDaysSinceOnsetOfSymptoms(int key)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
- Specified by:
containsInfectiousnessForDaysSinceOnsetOfSymptoms
in interfaceExposureConfigurationOrBuilder
-
getInfectiousnessForDaysSinceOnsetOfSymptoms
@Deprecated public Map<Integer,Integer> getInfectiousnessForDaysSinceOnsetOfSymptoms()
Deprecated.UsegetInfectiousnessForDaysSinceOnsetOfSymptomsMap()
instead.- Specified by:
getInfectiousnessForDaysSinceOnsetOfSymptoms
in interfaceExposureConfigurationOrBuilder
-
getInfectiousnessForDaysSinceOnsetOfSymptomsMap
public Map<Integer,Integer> getInfectiousnessForDaysSinceOnsetOfSymptomsMap()
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
- Specified by:
getInfectiousnessForDaysSinceOnsetOfSymptomsMap
in interfaceExposureConfigurationOrBuilder
-
getInfectiousnessForDaysSinceOnsetOfSymptomsOrDefault
public int getInfectiousnessForDaysSinceOnsetOfSymptomsOrDefault(int key, int defaultValue)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
- Specified by:
getInfectiousnessForDaysSinceOnsetOfSymptomsOrDefault
in interfaceExposureConfigurationOrBuilder
-
getInfectiousnessForDaysSinceOnsetOfSymptomsOrThrow
public int getInfectiousnessForDaysSinceOnsetOfSymptomsOrThrow(int key)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
- Specified by:
getInfectiousnessForDaysSinceOnsetOfSymptomsOrThrow
in interfaceExposureConfigurationOrBuilder
-
clearInfectiousnessForDaysSinceOnsetOfSymptoms
public ExposureConfiguration.Builder clearInfectiousnessForDaysSinceOnsetOfSymptoms()
-
removeInfectiousnessForDaysSinceOnsetOfSymptoms
public ExposureConfiguration.Builder removeInfectiousnessForDaysSinceOnsetOfSymptoms(int key)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
-
getMutableInfectiousnessForDaysSinceOnsetOfSymptoms
@Deprecated public Map<Integer,Integer> getMutableInfectiousnessForDaysSinceOnsetOfSymptoms()
Deprecated.Use alternate mutation accessors instead.
-
putInfectiousnessForDaysSinceOnsetOfSymptoms
public ExposureConfiguration.Builder putInfectiousnessForDaysSinceOnsetOfSymptoms(int key, int value)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
-
putAllInfectiousnessForDaysSinceOnsetOfSymptoms
public ExposureConfiguration.Builder putAllInfectiousnessForDaysSinceOnsetOfSymptoms(Map<Integer,Integer> values)
map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1;
-
getReportTypeNoneMap
public int getReportTypeNoneMap()
int32 reportTypeNoneMap = 2;
- Specified by:
getReportTypeNoneMap
in interfaceExposureConfigurationOrBuilder
- Returns:
- The reportTypeNoneMap.
-
setReportTypeNoneMap
public ExposureConfiguration.Builder setReportTypeNoneMap(int value)
int32 reportTypeNoneMap = 2;
- Parameters:
value
- The reportTypeNoneMap to set.- Returns:
- This builder for chaining.
-
clearReportTypeNoneMap
public ExposureConfiguration.Builder clearReportTypeNoneMap()
int32 reportTypeNoneMap = 2;
- Returns:
- This builder for chaining.
-
getAttenuationDurationThresholdsList
public List<Integer> getAttenuationDurationThresholdsList()
repeated int32 attenuationDurationThresholds = 3;
- Specified by:
getAttenuationDurationThresholdsList
in interfaceExposureConfigurationOrBuilder
- Returns:
- A list containing the attenuationDurationThresholds.
-
getAttenuationDurationThresholdsCount
public int getAttenuationDurationThresholdsCount()
repeated int32 attenuationDurationThresholds = 3;
- Specified by:
getAttenuationDurationThresholdsCount
in interfaceExposureConfigurationOrBuilder
- Returns:
- The count of attenuationDurationThresholds.
-
getAttenuationDurationThresholds
public int getAttenuationDurationThresholds(int index)
repeated int32 attenuationDurationThresholds = 3;
- Specified by:
getAttenuationDurationThresholds
in interfaceExposureConfigurationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The attenuationDurationThresholds at the given index.
-
setAttenuationDurationThresholds
public ExposureConfiguration.Builder setAttenuationDurationThresholds(int index, int value)
repeated int32 attenuationDurationThresholds = 3;
- Parameters:
index
- The index to set the value at.value
- The attenuationDurationThresholds to set.- Returns:
- This builder for chaining.
-
addAttenuationDurationThresholds
public ExposureConfiguration.Builder addAttenuationDurationThresholds(int value)
repeated int32 attenuationDurationThresholds = 3;
- Parameters:
value
- The attenuationDurationThresholds to add.- Returns:
- This builder for chaining.
-
addAllAttenuationDurationThresholds
public ExposureConfiguration.Builder addAllAttenuationDurationThresholds(Iterable<? extends Integer> values)
repeated int32 attenuationDurationThresholds = 3;
- Parameters:
values
- The attenuationDurationThresholds to add.- Returns:
- This builder for chaining.
-
clearAttenuationDurationThresholds
public ExposureConfiguration.Builder clearAttenuationDurationThresholds()
repeated int32 attenuationDurationThresholds = 3;
- Returns:
- This builder for chaining.
-
getImmediateDurationWeight
public double getImmediateDurationWeight()
double immediateDurationWeight = 4;
- Specified by:
getImmediateDurationWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The immediateDurationWeight.
-
setImmediateDurationWeight
public ExposureConfiguration.Builder setImmediateDurationWeight(double value)
double immediateDurationWeight = 4;
- Parameters:
value
- The immediateDurationWeight to set.- Returns:
- This builder for chaining.
-
clearImmediateDurationWeight
public ExposureConfiguration.Builder clearImmediateDurationWeight()
double immediateDurationWeight = 4;
- Returns:
- This builder for chaining.
-
getMediumDurationWeight
public double getMediumDurationWeight()
double mediumDurationWeight = 5;
- Specified by:
getMediumDurationWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The mediumDurationWeight.
-
setMediumDurationWeight
public ExposureConfiguration.Builder setMediumDurationWeight(double value)
double mediumDurationWeight = 5;
- Parameters:
value
- The mediumDurationWeight to set.- Returns:
- This builder for chaining.
-
clearMediumDurationWeight
public ExposureConfiguration.Builder clearMediumDurationWeight()
double mediumDurationWeight = 5;
- Returns:
- This builder for chaining.
-
getNearDurationWeight
public double getNearDurationWeight()
double nearDurationWeight = 6;
- Specified by:
getNearDurationWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The nearDurationWeight.
-
setNearDurationWeight
public ExposureConfiguration.Builder setNearDurationWeight(double value)
double nearDurationWeight = 6;
- Parameters:
value
- The nearDurationWeight to set.- Returns:
- This builder for chaining.
-
clearNearDurationWeight
public ExposureConfiguration.Builder clearNearDurationWeight()
double nearDurationWeight = 6;
- Returns:
- This builder for chaining.
-
getOtherDurationWeight
public double getOtherDurationWeight()
double otherDurationWeight = 7;
- Specified by:
getOtherDurationWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The otherDurationWeight.
-
setOtherDurationWeight
public ExposureConfiguration.Builder setOtherDurationWeight(double value)
double otherDurationWeight = 7;
- Parameters:
value
- The otherDurationWeight to set.- Returns:
- This builder for chaining.
-
clearOtherDurationWeight
public ExposureConfiguration.Builder clearOtherDurationWeight()
double otherDurationWeight = 7;
- Returns:
- This builder for chaining.
-
getDaysSinceLastExposureThreshold
public int getDaysSinceLastExposureThreshold()
int32 daysSinceLastExposureThreshold = 8;
- Specified by:
getDaysSinceLastExposureThreshold
in interfaceExposureConfigurationOrBuilder
- Returns:
- The daysSinceLastExposureThreshold.
-
setDaysSinceLastExposureThreshold
public ExposureConfiguration.Builder setDaysSinceLastExposureThreshold(int value)
int32 daysSinceLastExposureThreshold = 8;
- Parameters:
value
- The daysSinceLastExposureThreshold to set.- Returns:
- This builder for chaining.
-
clearDaysSinceLastExposureThreshold
public ExposureConfiguration.Builder clearDaysSinceLastExposureThreshold()
int32 daysSinceLastExposureThreshold = 8;
- Returns:
- This builder for chaining.
-
getInfectiousnessStandardWeight
public double getInfectiousnessStandardWeight()
double infectiousnessStandardWeight = 9;
- Specified by:
getInfectiousnessStandardWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The infectiousnessStandardWeight.
-
setInfectiousnessStandardWeight
public ExposureConfiguration.Builder setInfectiousnessStandardWeight(double value)
double infectiousnessStandardWeight = 9;
- Parameters:
value
- The infectiousnessStandardWeight to set.- Returns:
- This builder for chaining.
-
clearInfectiousnessStandardWeight
public ExposureConfiguration.Builder clearInfectiousnessStandardWeight()
double infectiousnessStandardWeight = 9;
- Returns:
- This builder for chaining.
-
getInfectiousnessHighWeight
public double getInfectiousnessHighWeight()
double infectiousnessHighWeight = 10;
- Specified by:
getInfectiousnessHighWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The infectiousnessHighWeight.
-
setInfectiousnessHighWeight
public ExposureConfiguration.Builder setInfectiousnessHighWeight(double value)
double infectiousnessHighWeight = 10;
- Parameters:
value
- The infectiousnessHighWeight to set.- Returns:
- This builder for chaining.
-
clearInfectiousnessHighWeight
public ExposureConfiguration.Builder clearInfectiousnessHighWeight()
double infectiousnessHighWeight = 10;
- Returns:
- This builder for chaining.
-
getReportTypeConfirmedTestWeight
public double getReportTypeConfirmedTestWeight()
double reportTypeConfirmedTestWeight = 11;
- Specified by:
getReportTypeConfirmedTestWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The reportTypeConfirmedTestWeight.
-
setReportTypeConfirmedTestWeight
public ExposureConfiguration.Builder setReportTypeConfirmedTestWeight(double value)
double reportTypeConfirmedTestWeight = 11;
- Parameters:
value
- The reportTypeConfirmedTestWeight to set.- Returns:
- This builder for chaining.
-
clearReportTypeConfirmedTestWeight
public ExposureConfiguration.Builder clearReportTypeConfirmedTestWeight()
double reportTypeConfirmedTestWeight = 11;
- Returns:
- This builder for chaining.
-
getReportTypeConfirmedClinicalDiagnosisWeight
public double getReportTypeConfirmedClinicalDiagnosisWeight()
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
- Specified by:
getReportTypeConfirmedClinicalDiagnosisWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The reportTypeConfirmedClinicalDiagnosisWeight.
-
setReportTypeConfirmedClinicalDiagnosisWeight
public ExposureConfiguration.Builder setReportTypeConfirmedClinicalDiagnosisWeight(double value)
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
- Parameters:
value
- The reportTypeConfirmedClinicalDiagnosisWeight to set.- Returns:
- This builder for chaining.
-
clearReportTypeConfirmedClinicalDiagnosisWeight
public ExposureConfiguration.Builder clearReportTypeConfirmedClinicalDiagnosisWeight()
double reportTypeConfirmedClinicalDiagnosisWeight = 12;
- Returns:
- This builder for chaining.
-
getReportTypeSelfReportedWeight
public double getReportTypeSelfReportedWeight()
double reportTypeSelfReportedWeight = 13;
- Specified by:
getReportTypeSelfReportedWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The reportTypeSelfReportedWeight.
-
setReportTypeSelfReportedWeight
public ExposureConfiguration.Builder setReportTypeSelfReportedWeight(double value)
double reportTypeSelfReportedWeight = 13;
- Parameters:
value
- The reportTypeSelfReportedWeight to set.- Returns:
- This builder for chaining.
-
clearReportTypeSelfReportedWeight
public ExposureConfiguration.Builder clearReportTypeSelfReportedWeight()
double reportTypeSelfReportedWeight = 13;
- Returns:
- This builder for chaining.
-
getReportTypeRecursiveWeight
public double getReportTypeRecursiveWeight()
double reportTypeRecursiveWeight = 14;
- Specified by:
getReportTypeRecursiveWeight
in interfaceExposureConfigurationOrBuilder
- Returns:
- The reportTypeRecursiveWeight.
-
setReportTypeRecursiveWeight
public ExposureConfiguration.Builder setReportTypeRecursiveWeight(double value)
double reportTypeRecursiveWeight = 14;
- Parameters:
value
- The reportTypeRecursiveWeight to set.- Returns:
- This builder for chaining.
-
clearReportTypeRecursiveWeight
public ExposureConfiguration.Builder clearReportTypeRecursiveWeight()
double reportTypeRecursiveWeight = 14;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExposureConfiguration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
mergeUnknownFields
public final ExposureConfiguration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExposureConfiguration.Builder>
-
-