Class DailySummariesConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- app.coronawarn.server.common.protocols.internal.v2.DailySummariesConfig
-
- All Implemented Interfaces:
DailySummariesConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class DailySummariesConfig extends com.google.protobuf.GeneratedMessageV3 implements DailySummariesConfigOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.DailySummariesConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DailySummariesConfig.Builder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.DailySummariesConfig
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTENUATIONBUCKETTHRESHOLDDB_FIELD_NUMBER
static int
ATTENUATIONBUCKETWEIGHTS_FIELD_NUMBER
static int
DAYSSINCEEXPOSURETHRESHOLD_FIELD_NUMBER
static int
INFECTIOUSNESSWEIGHTS_FIELD_NUMBER
static int
MINIMUMWINDOWSCORE_FIELD_NUMBER
static int
REPORTTYPEWEIGHTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsInfectiousnessWeights(int key)
map<int32, double> infectiousnessWeights = 4;
boolean
containsReportTypeWeights(int key)
map<int32, double> reportTypeWeights = 6;
boolean
equals(Object obj)
int
getAttenuationBucketThresholdDb(int index)
repeated int32 attenuationBucketThresholdDb = 1;
int
getAttenuationBucketThresholdDbCount()
repeated int32 attenuationBucketThresholdDb = 1;
List<Integer>
getAttenuationBucketThresholdDbList()
repeated int32 attenuationBucketThresholdDb = 1;
double
getAttenuationBucketWeights(int index)
repeated double attenuationBucketWeights = 2;
int
getAttenuationBucketWeightsCount()
repeated double attenuationBucketWeights = 2;
List<Double>
getAttenuationBucketWeightsList()
repeated double attenuationBucketWeights = 2;
int
getDaysSinceExposureThreshold()
int32 daysSinceExposureThreshold = 3;
static DailySummariesConfig
getDefaultInstance()
DailySummariesConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<Integer,Double>
getInfectiousnessWeights()
Deprecated.int
getInfectiousnessWeightsCount()
map<int32, double> infectiousnessWeights = 4;
Map<Integer,Double>
getInfectiousnessWeightsMap()
map<int32, double> infectiousnessWeights = 4;
double
getInfectiousnessWeightsOrDefault(int key, double defaultValue)
map<int32, double> infectiousnessWeights = 4;
double
getInfectiousnessWeightsOrThrow(int key)
map<int32, double> infectiousnessWeights = 4;
double
getMinimumWindowScore()
double minimumWindowScore = 5;
com.google.protobuf.Parser<DailySummariesConfig>
getParserForType()
Map<Integer,Double>
getReportTypeWeights()
Deprecated.int
getReportTypeWeightsCount()
map<int32, double> reportTypeWeights = 6;
Map<Integer,Double>
getReportTypeWeightsMap()
map<int32, double> reportTypeWeights = 6;
double
getReportTypeWeightsOrDefault(int key, double defaultValue)
map<int32, double> reportTypeWeights = 6;
double
getReportTypeWeightsOrThrow(int key)
map<int32, double> reportTypeWeights = 6;
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static DailySummariesConfig.Builder
newBuilder()
static DailySummariesConfig.Builder
newBuilder(DailySummariesConfig prototype)
DailySummariesConfig.Builder
newBuilderForType()
protected DailySummariesConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DailySummariesConfig
parseDelimitedFrom(InputStream input)
static DailySummariesConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DailySummariesConfig
parseFrom(byte[] data)
static DailySummariesConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DailySummariesConfig
parseFrom(com.google.protobuf.ByteString data)
static DailySummariesConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DailySummariesConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static DailySummariesConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DailySummariesConfig
parseFrom(InputStream input)
static DailySummariesConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DailySummariesConfig
parseFrom(ByteBuffer data)
static DailySummariesConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DailySummariesConfig>
parser()
DailySummariesConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ATTENUATIONBUCKETTHRESHOLDDB_FIELD_NUMBER
public static final int ATTENUATIONBUCKETTHRESHOLDDB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTENUATIONBUCKETWEIGHTS_FIELD_NUMBER
public static final int ATTENUATIONBUCKETWEIGHTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DAYSSINCEEXPOSURETHRESHOLD_FIELD_NUMBER
public static final int DAYSSINCEEXPOSURETHRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFECTIOUSNESSWEIGHTS_FIELD_NUMBER
public static final int INFECTIOUSNESSWEIGHTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MINIMUMWINDOWSCORE_FIELD_NUMBER
public static final int MINIMUMWINDOWSCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPORTTYPEWEIGHTS_FIELD_NUMBER
public static final int REPORTTYPEWEIGHTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getAttenuationBucketThresholdDbList
public List<Integer> getAttenuationBucketThresholdDbList()
repeated int32 attenuationBucketThresholdDb = 1;
- Specified by:
getAttenuationBucketThresholdDbList
in interfaceDailySummariesConfigOrBuilder
- Returns:
- A list containing the attenuationBucketThresholdDb.
-
getAttenuationBucketThresholdDbCount
public int getAttenuationBucketThresholdDbCount()
repeated int32 attenuationBucketThresholdDb = 1;
- Specified by:
getAttenuationBucketThresholdDbCount
in interfaceDailySummariesConfigOrBuilder
- Returns:
- The count of attenuationBucketThresholdDb.
-
getAttenuationBucketThresholdDb
public int getAttenuationBucketThresholdDb(int index)
repeated int32 attenuationBucketThresholdDb = 1;
- Specified by:
getAttenuationBucketThresholdDb
in interfaceDailySummariesConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The attenuationBucketThresholdDb at the given index.
-
getAttenuationBucketWeightsList
public List<Double> getAttenuationBucketWeightsList()
repeated double attenuationBucketWeights = 2;
- Specified by:
getAttenuationBucketWeightsList
in interfaceDailySummariesConfigOrBuilder
- Returns:
- A list containing the attenuationBucketWeights.
-
getAttenuationBucketWeightsCount
public int getAttenuationBucketWeightsCount()
repeated double attenuationBucketWeights = 2;
- Specified by:
getAttenuationBucketWeightsCount
in interfaceDailySummariesConfigOrBuilder
- Returns:
- The count of attenuationBucketWeights.
-
getAttenuationBucketWeights
public double getAttenuationBucketWeights(int index)
repeated double attenuationBucketWeights = 2;
- Specified by:
getAttenuationBucketWeights
in interfaceDailySummariesConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The attenuationBucketWeights at the given index.
-
getDaysSinceExposureThreshold
public int getDaysSinceExposureThreshold()
int32 daysSinceExposureThreshold = 3;
- Specified by:
getDaysSinceExposureThreshold
in interfaceDailySummariesConfigOrBuilder
- Returns:
- The daysSinceExposureThreshold.
-
getInfectiousnessWeightsCount
public int getInfectiousnessWeightsCount()
Description copied from interface:DailySummariesConfigOrBuilder
map<int32, double> infectiousnessWeights = 4;
- Specified by:
getInfectiousnessWeightsCount
in interfaceDailySummariesConfigOrBuilder
-
containsInfectiousnessWeights
public boolean containsInfectiousnessWeights(int key)
map<int32, double> infectiousnessWeights = 4;
- Specified by:
containsInfectiousnessWeights
in interfaceDailySummariesConfigOrBuilder
-
getInfectiousnessWeights
@Deprecated public Map<Integer,Double> getInfectiousnessWeights()
Deprecated.UsegetInfectiousnessWeightsMap()
instead.- Specified by:
getInfectiousnessWeights
in interfaceDailySummariesConfigOrBuilder
-
getInfectiousnessWeightsMap
public Map<Integer,Double> getInfectiousnessWeightsMap()
map<int32, double> infectiousnessWeights = 4;
- Specified by:
getInfectiousnessWeightsMap
in interfaceDailySummariesConfigOrBuilder
-
getInfectiousnessWeightsOrDefault
public double getInfectiousnessWeightsOrDefault(int key, double defaultValue)
map<int32, double> infectiousnessWeights = 4;
- Specified by:
getInfectiousnessWeightsOrDefault
in interfaceDailySummariesConfigOrBuilder
-
getInfectiousnessWeightsOrThrow
public double getInfectiousnessWeightsOrThrow(int key)
map<int32, double> infectiousnessWeights = 4;
- Specified by:
getInfectiousnessWeightsOrThrow
in interfaceDailySummariesConfigOrBuilder
-
getMinimumWindowScore
public double getMinimumWindowScore()
double minimumWindowScore = 5;
- Specified by:
getMinimumWindowScore
in interfaceDailySummariesConfigOrBuilder
- Returns:
- The minimumWindowScore.
-
getReportTypeWeightsCount
public int getReportTypeWeightsCount()
Description copied from interface:DailySummariesConfigOrBuilder
map<int32, double> reportTypeWeights = 6;
- Specified by:
getReportTypeWeightsCount
in interfaceDailySummariesConfigOrBuilder
-
containsReportTypeWeights
public boolean containsReportTypeWeights(int key)
map<int32, double> reportTypeWeights = 6;
- Specified by:
containsReportTypeWeights
in interfaceDailySummariesConfigOrBuilder
-
getReportTypeWeights
@Deprecated public Map<Integer,Double> getReportTypeWeights()
Deprecated.UsegetReportTypeWeightsMap()
instead.- Specified by:
getReportTypeWeights
in interfaceDailySummariesConfigOrBuilder
-
getReportTypeWeightsMap
public Map<Integer,Double> getReportTypeWeightsMap()
map<int32, double> reportTypeWeights = 6;
- Specified by:
getReportTypeWeightsMap
in interfaceDailySummariesConfigOrBuilder
-
getReportTypeWeightsOrDefault
public double getReportTypeWeightsOrDefault(int key, double defaultValue)
map<int32, double> reportTypeWeights = 6;
- Specified by:
getReportTypeWeightsOrDefault
in interfaceDailySummariesConfigOrBuilder
-
getReportTypeWeightsOrThrow
public double getReportTypeWeightsOrThrow(int key)
map<int32, double> reportTypeWeights = 6;
- Specified by:
getReportTypeWeightsOrThrow
in interfaceDailySummariesConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DailySummariesConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DailySummariesConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DailySummariesConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DailySummariesConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DailySummariesConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DailySummariesConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DailySummariesConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DailySummariesConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DailySummariesConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DailySummariesConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DailySummariesConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DailySummariesConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DailySummariesConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DailySummariesConfig.Builder newBuilder()
-
newBuilder
public static DailySummariesConfig.Builder newBuilder(DailySummariesConfig prototype)
-
toBuilder
public DailySummariesConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DailySummariesConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DailySummariesConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DailySummariesConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<DailySummariesConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DailySummariesConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-