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 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.