Google is committed to advancing racial equity for Black communities. See how.

DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder

public static final class DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder extends Object

Public Constructor Summary

Public Method Summary

DiagnosisKeysDataMapping
build()
Builds an instance of DiagnosisKeysDataMapping.
DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder
setDaysSinceOnsetToInfectiousness(Map<IntegerInteger> daysSinceOnsetToInfectiousness)
Sets the days since onset to infectiousness.
DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder
setInfectiousnessWhenDaysSinceOnsetMissing(int infectiousnessWhenDaysSinceOnsetMissing)
Sets the infectiousness when days since onset missing.
DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder
setReportTypeWhenMissing(int reportTypeWhenMissing)
Sets the report type when missing.

Inherited Method Summary

Public Constructors

public DiagnosisKeysDataMappingBuilder ()

Public Methods

public DiagnosisKeysDataMapping build ()

Builds an instance of DiagnosisKeysDataMapping.

public DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder setDaysSinceOnsetToInfectiousness (Map<IntegerInteger> daysSinceOnsetToInfectiousness)

Sets the days since onset to infectiousness. See DiagnosisKeysDataMapping.getDaysSinceOnsetToInfectiousness().

public DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder setInfectiousnessWhenDaysSinceOnsetMissing (int infectiousnessWhenDaysSinceOnsetMissing)

Sets the infectiousness when days since onset missing. See DiagnosisKeysDataMapping.getInfectiousnessWhenDaysSinceOnsetMissing().

public DiagnosisKeysDataMapping.DiagnosisKeysDataMappingBuilder setReportTypeWhenMissing (int reportTypeWhenMissing)

Sets the report type when missing. See DiagnosisKeysDataMapping.getReportTypeWhenMissing().