Interface TemporaryExposureKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TemporaryExposureKey
,TemporaryExposureKey.Builder
public interface TemporaryExposureKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDaysSinceOnsetOfSymptoms()
Number of days elapsed between symptom onset and the TEK being used.com.google.protobuf.ByteString
getKeyData()
Key of infected userReportType
getReportType()
Type of diagnosis associated with a key.int
getRollingPeriod()
Increments of 10 minutes describing how long a key is validint
getRollingStartIntervalNumber()
The interval number since epoch for which a key startsint
getTransmissionRiskLevel()
Varying risk associated with a key depending on diagnosis methodboolean
hasDaysSinceOnsetOfSymptoms()
Number of days elapsed between symptom onset and the TEK being used.boolean
hasKeyData()
Key of infected userboolean
hasReportType()
Type of diagnosis associated with a key.boolean
hasRollingPeriod()
Increments of 10 minutes describing how long a key is validboolean
hasRollingStartIntervalNumber()
The interval number since epoch for which a key startsboolean
hasTransmissionRiskLevel()
Varying risk associated with a key depending on diagnosis method-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKeyData
boolean hasKeyData()
Key of infected user
optional bytes key_data = 1;
- Returns:
- Whether the keyData field is set.
-
getKeyData
com.google.protobuf.ByteString getKeyData()
Key of infected user
optional bytes key_data = 1;
- Returns:
- The keyData.
-
hasTransmissionRiskLevel
boolean hasTransmissionRiskLevel()
Varying risk associated with a key depending on diagnosis method
optional int32 transmission_risk_level = 2;
- Returns:
- Whether the transmissionRiskLevel field is set.
-
getTransmissionRiskLevel
int getTransmissionRiskLevel()
Varying risk associated with a key depending on diagnosis method
optional int32 transmission_risk_level = 2;
- Returns:
- The transmissionRiskLevel.
-
hasRollingStartIntervalNumber
boolean hasRollingStartIntervalNumber()
The interval number since epoch for which a key starts
optional int32 rolling_start_interval_number = 3;
- Returns:
- Whether the rollingStartIntervalNumber field is set.
-
getRollingStartIntervalNumber
int getRollingStartIntervalNumber()
The interval number since epoch for which a key starts
optional int32 rolling_start_interval_number = 3;
- Returns:
- The rollingStartIntervalNumber.
-
hasRollingPeriod
boolean hasRollingPeriod()
Increments of 10 minutes describing how long a key is valid
optional int32 rolling_period = 4 [default = 144];
- Returns:
- Whether the rollingPeriod field is set.
-
getRollingPeriod
int getRollingPeriod()
Increments of 10 minutes describing how long a key is valid
optional int32 rolling_period = 4 [default = 144];
- Returns:
- The rollingPeriod.
-
hasReportType
boolean hasReportType()
Type of diagnosis associated with a key.
optional .app.coronawarn.server.common.protocols.external.exposurenotification.ReportType report_type = 5 [default = CONFIRMED_TEST];
- Returns:
- Whether the reportType field is set.
-
getReportType
ReportType getReportType()
Type of diagnosis associated with a key.
optional .app.coronawarn.server.common.protocols.external.exposurenotification.ReportType report_type = 5 [default = CONFIRMED_TEST];
- Returns:
- The reportType.
-
hasDaysSinceOnsetOfSymptoms
boolean hasDaysSinceOnsetOfSymptoms()
Number of days elapsed between symptom onset and the TEK being used. E.g. 2 means TEK is 2 days after onset of symptoms.
optional sint32 days_since_onset_of_symptoms = 6;
- Returns:
- Whether the daysSinceOnsetOfSymptoms field is set.
-
getDaysSinceOnsetOfSymptoms
int getDaysSinceOnsetOfSymptoms()
Number of days elapsed between symptom onset and the TEK being used. E.g. 2 means TEK is 2 days after onset of symptoms.
optional sint32 days_since_onset_of_symptoms = 6;
- Returns:
- The daysSinceOnsetOfSymptoms.
-
-