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
      com.google.protobuf.ByteString getKeyData()
      Key of infected user
      int getRollingPeriod()
      Increments of 10 minutes describing how long a key is valid
      int getRollingStartIntervalNumber()
      The interval number since epoch for which a key starts
      int getTransmissionRiskLevel()
      Varying risk associated with a key depending on diagnosis method
      boolean hasKeyData()
      Key of infected user
      boolean hasRollingPeriod()
      Increments of 10 minutes describing how long a key is valid
      boolean hasRollingStartIntervalNumber()
      The interval number since epoch for which a key starts
      boolean hasTransmissionRiskLevel()
      Varying risk associated with a key depending on diagnosis method
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

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