Class RiskScoreParameters.DaysSinceLastExposureRiskParameters
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters
-
- All Implemented Interfaces:
RiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- RiskScoreParameters
public static final class RiskScoreParameters.DaysSinceLastExposureRiskParameters extends com.google.protobuf.GeneratedMessageV3 implements RiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreParameters.DaysSinceLastExposureRiskParameters
-
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
GE_0_LT_2_DAYS_FIELD_NUMBER
static int
GE_10_LT_12_DAYS_FIELD_NUMBER
static int
GE_12_LT_14_DAYS_FIELD_NUMBER
static int
GE_14_DAYS_FIELD_NUMBER
static int
GE_2_LT_4_DAYS_FIELD_NUMBER
static int
GE_4_LT_6_DAYS_FIELD_NUMBER
static int
GE_6_LT_8_DAYS_FIELD_NUMBER
static int
GE_8_LT_10_DAYS_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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
-
GE_14_DAYS_FIELD_NUMBER
public static final int GE_14_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_12_LT_14_DAYS_FIELD_NUMBER
public static final int GE_12_LT_14_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_10_LT_12_DAYS_FIELD_NUMBER
public static final int GE_10_LT_12_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_8_LT_10_DAYS_FIELD_NUMBER
public static final int GE_8_LT_10_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_6_LT_8_DAYS_FIELD_NUMBER
public static final int GE_6_LT_8_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_4_LT_6_DAYS_FIELD_NUMBER
public static final int GE_4_LT_6_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_2_LT_4_DAYS_FIELD_NUMBER
public static final int GE_2_LT_4_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GE_0_LT_2_DAYS_FIELD_NUMBER
public static final int GE_0_LT_2_DAYS_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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getGe14DaysValue
public int getGe14DaysValue()
D >= 14 days, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_14_days = 1;
- Specified by:
getGe14DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge14Days.
-
getGe14Days
public RiskLevel getGe14Days()
D >= 14 days, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_14_days = 1;
- Specified by:
getGe14Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge14Days.
-
getGe12Lt14DaysValue
public int getGe12Lt14DaysValue()
12 <= D < 14 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_12_lt_14_days = 2;
- Specified by:
getGe12Lt14DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge12Lt14Days.
-
getGe12Lt14Days
public RiskLevel getGe12Lt14Days()
12 <= D < 14 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_12_lt_14_days = 2;
- Specified by:
getGe12Lt14Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge12Lt14Days.
-
getGe10Lt12DaysValue
public int getGe10Lt12DaysValue()
10 <= D < 12 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_10_lt_12_days = 3;
- Specified by:
getGe10Lt12DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge10Lt12Days.
-
getGe10Lt12Days
public RiskLevel getGe10Lt12Days()
10 <= D < 12 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_10_lt_12_days = 3;
- Specified by:
getGe10Lt12Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge10Lt12Days.
-
getGe8Lt10DaysValue
public int getGe8Lt10DaysValue()
8 <= D < 10 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_8_lt_10_days = 4;
- Specified by:
getGe8Lt10DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge8Lt10Days.
-
getGe8Lt10Days
public RiskLevel getGe8Lt10Days()
8 <= D < 10 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_8_lt_10_days = 4;
- Specified by:
getGe8Lt10Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge8Lt10Days.
-
getGe6Lt8DaysValue
public int getGe6Lt8DaysValue()
6 <= D < 8 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_6_lt_8_days = 5;
- Specified by:
getGe6Lt8DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge6Lt8Days.
-
getGe6Lt8Days
public RiskLevel getGe6Lt8Days()
6 <= D < 8 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_6_lt_8_days = 5;
- Specified by:
getGe6Lt8Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge6Lt8Days.
-
getGe4Lt6DaysValue
public int getGe4Lt6DaysValue()
4 <= D < 6 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_4_lt_6_days = 6;
- Specified by:
getGe4Lt6DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge4Lt6Days.
-
getGe4Lt6Days
public RiskLevel getGe4Lt6Days()
4 <= D < 6 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_4_lt_6_days = 6;
- Specified by:
getGe4Lt6Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge4Lt6Days.
-
getGe2Lt4DaysValue
public int getGe2Lt4DaysValue()
2 <= D < 4 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_2_lt_4_days = 7;
- Specified by:
getGe2Lt4DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge2Lt4Days.
-
getGe2Lt4Days
public RiskLevel getGe2Lt4Days()
2 <= D < 4 days
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_2_lt_4_days = 7;
- Specified by:
getGe2Lt4Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge2Lt4Days.
-
getGe0Lt2DaysValue
public int getGe0Lt2DaysValue()
0 <= D < 2 days, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_0_lt_2_days = 8;
- Specified by:
getGe0Lt2DaysValue
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for ge0Lt2Days.
-
getGe0Lt2Days
public RiskLevel getGe0Lt2Days()
0 <= D < 2 days, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel ge_0_lt_2_days = 8;
- Specified by:
getGe0Lt2Days
in interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder
- Returns:
- The ge0Lt2Days.
-
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 RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder newBuilder()
-
newBuilder
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder newBuilder(RiskScoreParameters.DaysSinceLastExposureRiskParameters prototype)
-
toBuilder
public RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RiskScoreParameters.DaysSinceLastExposureRiskParameters getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RiskScoreParameters.DaysSinceLastExposureRiskParameters> parser()
-
getParserForType
public com.google.protobuf.Parser<RiskScoreParameters.DaysSinceLastExposureRiskParameters> 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 RiskScoreParameters.DaysSinceLastExposureRiskParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-