Class RiskScoreParameters.DurationRiskParameters
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- app.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters
-
- All Implemented Interfaces:
RiskScoreParameters.DurationRiskParametersOrBuilder
,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.DurationRiskParameters extends com.google.protobuf.GeneratedMessageV3 implements RiskScoreParameters.DurationRiskParametersOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RiskScoreParameters.DurationRiskParameters.Builder
Protobuf typeapp.coronawarn.server.common.protocols.internal.RiskScoreParameters.DurationRiskParameters
-
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
EQ_0_MIN_FIELD_NUMBER
static int
GT_0_LE_5_MIN_FIELD_NUMBER
static int
GT_10_LE_15_MIN_FIELD_NUMBER
static int
GT_15_LE_20_MIN_FIELD_NUMBER
static int
GT_20_LE_25_MIN_FIELD_NUMBER
static int
GT_25_LE_30_MIN_FIELD_NUMBER
static int
GT_30_MIN_FIELD_NUMBER
static int
GT_5_LE_10_MIN_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
-
EQ_0_MIN_FIELD_NUMBER
public static final int EQ_0_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_0_LE_5_MIN_FIELD_NUMBER
public static final int GT_0_LE_5_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_5_LE_10_MIN_FIELD_NUMBER
public static final int GT_5_LE_10_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_10_LE_15_MIN_FIELD_NUMBER
public static final int GT_10_LE_15_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_15_LE_20_MIN_FIELD_NUMBER
public static final int GT_15_LE_20_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_20_LE_25_MIN_FIELD_NUMBER
public static final int GT_20_LE_25_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_25_LE_30_MIN_FIELD_NUMBER
public static final int GT_25_LE_30_MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GT_30_MIN_FIELD_NUMBER
public static final int GT_30_MIN_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
-
getEq0MinValue
public int getEq0MinValue()
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Specified by:
getEq0MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for eq0Min.
-
getEq0Min
public RiskLevel getEq0Min()
D = 0 min, lowest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel eq_0_min = 1;
- Specified by:
getEq0Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The eq0Min.
-
getGt0Le5MinValue
public int getGt0Le5MinValue()
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Specified by:
getGt0Le5MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt0Le5Min.
-
getGt0Le5Min
public RiskLevel getGt0Le5Min()
0 < D <= 5 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_0_le_5_min = 2;
- Specified by:
getGt0Le5Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt0Le5Min.
-
getGt5Le10MinValue
public int getGt5Le10MinValue()
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Specified by:
getGt5Le10MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt5Le10Min.
-
getGt5Le10Min
public RiskLevel getGt5Le10Min()
5 < D <= 10 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_5_le_10_min = 3;
- Specified by:
getGt5Le10Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt5Le10Min.
-
getGt10Le15MinValue
public int getGt10Le15MinValue()
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Specified by:
getGt10Le15MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt10Le15Min.
-
getGt10Le15Min
public RiskLevel getGt10Le15Min()
10 < D <= 15 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_10_le_15_min = 4;
- Specified by:
getGt10Le15Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt10Le15Min.
-
getGt15Le20MinValue
public int getGt15Le20MinValue()
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Specified by:
getGt15Le20MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt15Le20Min.
-
getGt15Le20Min
public RiskLevel getGt15Le20Min()
15 < D <= 20 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_15_le_20_min = 5;
- Specified by:
getGt15Le20Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt15Le20Min.
-
getGt20Le25MinValue
public int getGt20Le25MinValue()
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Specified by:
getGt20Le25MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt20Le25Min.
-
getGt20Le25Min
public RiskLevel getGt20Le25Min()
20 < D <= 25 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_20_le_25_min = 6;
- Specified by:
getGt20Le25Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt20Le25Min.
-
getGt25Le30MinValue
public int getGt25Le30MinValue()
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Specified by:
getGt25Le30MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt25Le30Min.
-
getGt25Le30Min
public RiskLevel getGt25Le30Min()
25 < D <= 30 min
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_25_le_30_min = 7;
- Specified by:
getGt25Le30Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt25Le30Min.
-
getGt30MinValue
public int getGt30MinValue()
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Specified by:
getGt30MinValue
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The enum numeric value on the wire for gt30Min.
-
getGt30Min
public RiskLevel getGt30Min()
> 30 min, highest risk
.app.coronawarn.server.common.protocols.internal.RiskLevel gt_30_min = 8;
- Specified by:
getGt30Min
in interfaceRiskScoreParameters.DurationRiskParametersOrBuilder
- Returns:
- The gt30Min.
-
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.DurationRiskParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters 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.DurationRiskParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RiskScoreParameters.DurationRiskParameters parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RiskScoreParameters.DurationRiskParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RiskScoreParameters.DurationRiskParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RiskScoreParameters.DurationRiskParameters.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RiskScoreParameters.DurationRiskParameters.Builder newBuilder()
-
newBuilder
public static RiskScoreParameters.DurationRiskParameters.Builder newBuilder(RiskScoreParameters.DurationRiskParameters prototype)
-
toBuilder
public RiskScoreParameters.DurationRiskParameters.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RiskScoreParameters.DurationRiskParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RiskScoreParameters.DurationRiskParameters getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RiskScoreParameters.DurationRiskParameters> parser()
-
getParserForType
public com.google.protobuf.Parser<RiskScoreParameters.DurationRiskParameters> 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.DurationRiskParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-