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 classRiskScoreParameters.DaysSinceLastExposureRiskParameters.BuilderProtobuf 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 intGE_0_LT_2_DAYS_FIELD_NUMBERstatic intGE_10_LT_12_DAYS_FIELD_NUMBERstatic intGE_12_LT_14_DAYS_FIELD_NUMBERstatic intGE_14_DAYS_FIELD_NUMBERstatic intGE_2_LT_4_DAYS_FIELD_NUMBERstatic intGE_4_LT_6_DAYS_FIELD_NUMBERstatic intGE_6_LT_8_DAYS_FIELD_NUMBERstatic intGE_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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getGe14DaysValuein 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:
getGe14Daysin 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:
getGe12Lt14DaysValuein 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:
getGe12Lt14Daysin 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:
getGe10Lt12DaysValuein 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:
getGe10Lt12Daysin 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:
getGe8Lt10DaysValuein 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:
getGe8Lt10Daysin 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:
getGe6Lt8DaysValuein 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:
getGe6Lt8Daysin 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:
getGe4Lt6DaysValuein 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:
getGe4Lt6Daysin 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:
getGe2Lt4DaysValuein 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:
getGe2Lt4Daysin 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:
getGe0Lt2DaysValuein 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:
getGe0Lt2Daysin interfaceRiskScoreParameters.DaysSinceLastExposureRiskParametersOrBuilder- Returns:
- The ge0Lt2Days.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RiskScoreParameters.DaysSinceLastExposureRiskParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RiskScoreParameters.DaysSinceLastExposureRiskParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-