Interface DiagnosisKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiagnosisKey,DiagnosisKey.Builder
public interface DiagnosisKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDaysSinceOnsetOfSymptoms()Number of days elapsed between symptom onset and the TEK being used.com.google.protobuf.ByteStringgetKeyData()keyStringgetOrigin()country of origincom.google.protobuf.ByteStringgetOriginBytes()country of originReportTypegetReportType()set by backendintgetReportTypeValue()set by backendintgetRollingPeriod()number of 10-minute windows between key-rollingintgetRollingStartIntervalNumber()uint32 rollingStartIntervalNumber = 2;intgetTransmissionRiskLevel()risk of transmissionStringgetVisitedCountries(int index)repeated string visitedCountries = 5;com.google.protobuf.ByteStringgetVisitedCountriesBytes(int index)repeated string visitedCountries = 5;intgetVisitedCountriesCount()repeated string visitedCountries = 5;List<String>getVisitedCountriesList()repeated string visitedCountries = 5;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKeyData
com.google.protobuf.ByteString getKeyData()
key
bytes keyData = 1;- Returns:
- The keyData.
-
getRollingStartIntervalNumber
int getRollingStartIntervalNumber()
uint32 rollingStartIntervalNumber = 2;- Returns:
- The rollingStartIntervalNumber.
-
getRollingPeriod
int getRollingPeriod()
number of 10-minute windows between key-rolling
uint32 rollingPeriod = 3;- Returns:
- The rollingPeriod.
-
getTransmissionRiskLevel
int getTransmissionRiskLevel()
risk of transmission
int32 transmissionRiskLevel = 4;- Returns:
- The transmissionRiskLevel.
-
getVisitedCountriesList
List<String> getVisitedCountriesList()
repeated string visitedCountries = 5;- Returns:
- A list containing the visitedCountries.
-
getVisitedCountriesCount
int getVisitedCountriesCount()
repeated string visitedCountries = 5;- Returns:
- The count of visitedCountries.
-
getVisitedCountries
String getVisitedCountries(int index)
repeated string visitedCountries = 5;- Parameters:
index- The index of the element to return.- Returns:
- The visitedCountries at the given index.
-
getVisitedCountriesBytes
com.google.protobuf.ByteString getVisitedCountriesBytes(int index)
repeated string visitedCountries = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the visitedCountries at the given index.
-
getOrigin
String getOrigin()
country of origin
string origin = 6;- Returns:
- The origin.
-
getOriginBytes
com.google.protobuf.ByteString getOriginBytes()
country of origin
string origin = 6;- Returns:
- The bytes for origin.
-
getReportTypeValue
int getReportTypeValue()
set by backend
.app.coronawarn.server.common.protocols.external.exposurenotification.ReportType reportType = 7;- Returns:
- The enum numeric value on the wire for reportType.
-
getReportType
ReportType getReportType()
set by backend
.app.coronawarn.server.common.protocols.external.exposurenotification.ReportType reportType = 7;- Returns:
- The reportType.
-
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.
sint32 days_since_onset_of_symptoms = 8;- Returns:
- The daysSinceOnsetOfSymptoms.
-
-