Interface SettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Settings, Settings.Builder

@Generated public interface SettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. The resource name of this Settings resource.
      
       Format: `users/{user}/settings`
       Example: `users/1234567890/settings` or `users/me/settings`
       The {user} ID is a system-generated Google Health API user ID, a string of
       1-63 characters consisting of lowercase and uppercase letters, numbers, and
       hyphens. The literal `me` can also be used to refer to the authenticated
       user.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of this Settings resource.
      
       Format: `users/{user}/settings`
       Example: `users/1234567890/settings` or `users/me/settings`
       The {user} ID is a system-generated Google Health API user ID, a string of
       1-63 characters consisting of lowercase and uppercase letters, numbers, and
       hyphens. The literal `me` can also be used to refer to the authenticated
       user.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getAutoStrideEnabled

      boolean getAutoStrideEnabled()
       Optional. True if the user's stride length is determined automatically.
      
       Updates to this field are currently not supported.
       
      bool auto_stride_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The autoStrideEnabled.
    • getDistanceUnitValue

      int getDistanceUnitValue()
       Optional. The measurement unit defined in the user's account settings.
      
       Updates to this field are currently not supported.
       
      .google.devicesandservices.health.v4.Settings.DistanceUnit distance_unit = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for distanceUnit.
    • getDistanceUnit

      Settings.DistanceUnit getDistanceUnit()
       Optional. The measurement unit defined in the user's account settings.
      
       Updates to this field are currently not supported.
       
      .google.devicesandservices.health.v4.Settings.DistanceUnit distance_unit = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The distanceUnit.
    • getGlucoseUnitValue

      int getGlucoseUnitValue()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.GlucoseUnit glucose_unit = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for glucoseUnit.
    • getGlucoseUnit

      Settings.GlucoseUnit getGlucoseUnit()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.GlucoseUnit glucose_unit = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The glucoseUnit.
    • getHeightUnitValue

      int getHeightUnitValue()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.HeightUnit height_unit = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for heightUnit.
    • getHeightUnit

      Settings.HeightUnit getHeightUnit()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.HeightUnit height_unit = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The heightUnit.
    • getLanguageLocale

      String getLanguageLocale()
       Optional. The locale defined in the user's account settings.
      
       Updates to this field are currently not supported.
       
      string language_locale = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The languageLocale.
    • getLanguageLocaleBytes

      com.google.protobuf.ByteString getLanguageLocaleBytes()
       Optional. The locale defined in the user's account settings.
      
       Updates to this field are currently not supported.
       
      string language_locale = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for languageLocale.
    • hasUtcOffset

      boolean hasUtcOffset()
       Optional. The user's timezone offset relative to UTC.
      
       Updates to this field are currently not supported.
       
      .google.protobuf.Duration utc_offset = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the utcOffset field is set.
    • getUtcOffset

      com.google.protobuf.Duration getUtcOffset()
       Optional. The user's timezone offset relative to UTC.
      
       Updates to this field are currently not supported.
       
      .google.protobuf.Duration utc_offset = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The utcOffset.
    • getUtcOffsetOrBuilder

      com.google.protobuf.DurationOrBuilder getUtcOffsetOrBuilder()
       Optional. The user's timezone offset relative to UTC.
      
       Updates to this field are currently not supported.
       
      .google.protobuf.Duration utc_offset = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getStrideLengthWalkingTypeValue

      int getStrideLengthWalkingTypeValue()
       Optional. The stride length type defined in the user's account settings for
       walking.
      
       Updates to this field are currently not supported.
       
      .google.devicesandservices.health.v4.Settings.StrideLengthType stride_length_walking_type = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for strideLengthWalkingType.
    • getStrideLengthWalkingType

      Settings.StrideLengthType getStrideLengthWalkingType()
       Optional. The stride length type defined in the user's account settings for
       walking.
      
       Updates to this field are currently not supported.
       
      .google.devicesandservices.health.v4.Settings.StrideLengthType stride_length_walking_type = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The strideLengthWalkingType.
    • getStrideLengthRunningTypeValue

      int getStrideLengthRunningTypeValue()
       Optional. The stride length type defined in the user's account settings for
       running.
      
       Updates to this field are currently not supported.
       
      .google.devicesandservices.health.v4.Settings.StrideLengthType stride_length_running_type = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for strideLengthRunningType.
    • getStrideLengthRunningType

      Settings.StrideLengthType getStrideLengthRunningType()
       Optional. The stride length type defined in the user's account settings for
       running.
      
       Updates to this field are currently not supported.
       
      .google.devicesandservices.health.v4.Settings.StrideLengthType stride_length_running_type = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The strideLengthRunningType.
    • getSwimUnitValue

      int getSwimUnitValue()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.SwimUnit swim_unit = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for swimUnit.
    • getSwimUnit

      Settings.SwimUnit getSwimUnit()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.SwimUnit swim_unit = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The swimUnit.
    • getTemperatureUnitValue

      int getTemperatureUnitValue()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.TemperatureUnit temperature_unit = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for temperatureUnit.
    • getTemperatureUnit

      Settings.TemperatureUnit getTemperatureUnit()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.TemperatureUnit temperature_unit = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The temperatureUnit.
    • getTimeZone

      String getTimeZone()
       Optional. The timezone defined in the user's account settings. This follows
       the IANA [Time Zone Database](https://www.iana.org/time-zones).
      
       Updates to this field are currently not supported.
       
      string time_zone = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The timeZone.
    • getTimeZoneBytes

      com.google.protobuf.ByteString getTimeZoneBytes()
       Optional. The timezone defined in the user's account settings. This follows
       the IANA [Time Zone Database](https://www.iana.org/time-zones).
      
       Updates to this field are currently not supported.
       
      string time_zone = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for timeZone.
    • getWeightUnitValue

      int getWeightUnitValue()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.WeightUnit weight_unit = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for weightUnit.
    • getWeightUnit

      Settings.WeightUnit getWeightUnit()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.WeightUnit weight_unit = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The weightUnit.
    • getWaterUnitValue

      int getWaterUnitValue()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.WaterUnit water_unit = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for waterUnit.
    • getWaterUnit

      Settings.WaterUnit getWaterUnit()
       Optional. The measurement unit defined in the user's account settings.
       
      .google.devicesandservices.health.v4.Settings.WaterUnit water_unit = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The waterUnit.