Class PairedDevice.Builder (0.2.0)

public static final class PairedDevice.Builder extends GeneratedMessage.Builder<PairedDevice.Builder> implements PairedDeviceOrBuilder

User's Paired 1P Device

The PairedDevice details include information about the device type, battery status, battery level, last sync time, device version, mac address, and features.

Protobuf type google.devicesandservices.health.v4.PairedDevice

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFeatures(Iterable<String> values)

public PairedDevice.Builder addAllFeatures(Iterable<String> values)

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The features to add.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

addFeatures(String value)

public PairedDevice.Builder addFeatures(String value)

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The features to add.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

addFeaturesBytes(ByteString value)

public PairedDevice.Builder addFeaturesBytes(ByteString value)

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the features to add.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

build()

public PairedDevice build()
Returns
Type Description
PairedDevice

buildPartial()

public PairedDevice buildPartial()
Returns
Type Description
PairedDevice

clear()

public PairedDevice.Builder clear()
Returns
Type Description
PairedDevice.Builder
Overrides

clearBatteryLevel()

public PairedDevice.Builder clearBatteryLevel()

Output only. The battery level of the device.

int32 battery_level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

clearBatteryStatus()

public PairedDevice.Builder clearBatteryStatus()

Output only. The battery status of the device. Supported: High | Medium | Low | Empty

string battery_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

clearDeviceType()

public PairedDevice.Builder clearDeviceType()

Output only. The device type. Supported: TRACKER | SCALE

.google.devicesandservices.health.v4.PairedDevice.DeviceType device_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

clearDeviceVersion()

public PairedDevice.Builder clearDeviceVersion()

Output only. The product name of the device

string device_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

clearFeatures()

public PairedDevice.Builder clearFeatures()

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

clearLastSyncTime()

public PairedDevice.Builder clearLastSyncTime()

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

clearMacAddress()

public PairedDevice.Builder clearMacAddress()

Output only. Mac ID number of the device.

string mac_address = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

clearName()

public PairedDevice.Builder clearName()

Identifier. The resource name of this Device resource.

Format: users/{user}/pairedDevices/{paired_device} Example: users/1234567890/pairedDevices/123 or users/me/pairedDevices/123

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

getBatteryLevel()

public int getBatteryLevel()

Output only. The battery level of the device.

int32 battery_level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The batteryLevel.

getBatteryStatus()

public String getBatteryStatus()

Output only. The battery status of the device. Supported: High | Medium | Low | Empty

string battery_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The batteryStatus.

getBatteryStatusBytes()

public ByteString getBatteryStatusBytes()

Output only. The battery status of the device. Supported: High | Medium | Low | Empty

string battery_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for batteryStatus.

getDefaultInstanceForType()

public PairedDevice getDefaultInstanceForType()
Returns
Type Description
PairedDevice

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDeviceType()

public PairedDevice.DeviceType getDeviceType()

Output only. The device type. Supported: TRACKER | SCALE

.google.devicesandservices.health.v4.PairedDevice.DeviceType device_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairedDevice.DeviceType

The deviceType.

getDeviceTypeValue()

public int getDeviceTypeValue()

Output only. The device type. Supported: TRACKER | SCALE

.google.devicesandservices.health.v4.PairedDevice.DeviceType device_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for deviceType.

getDeviceVersion()

public String getDeviceVersion()

Output only. The product name of the device

string device_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The deviceVersion.

getDeviceVersionBytes()

public ByteString getDeviceVersionBytes()

Output only. The product name of the device

string device_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for deviceVersion.

getFeatures(int index)

public String getFeatures(int index)

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The features at the given index.

getFeaturesBytes(int index)

public ByteString getFeaturesBytes(int index)

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the features at the given index.

getFeaturesCount()

public int getFeaturesCount()

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of features.

getFeaturesList()

public ProtocolStringList getFeaturesList()

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the features.

getLastSyncTime()

public Timestamp getLastSyncTime()

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastSyncTime.

getLastSyncTimeBuilder()

public Timestamp.Builder getLastSyncTimeBuilder()

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastSyncTimeOrBuilder()

public TimestampOrBuilder getLastSyncTimeOrBuilder()

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMacAddress()

public String getMacAddress()

Output only. Mac ID number of the device.

string mac_address = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

Output only. Mac ID number of the device.

string mac_address = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for macAddress.

getName()

public String getName()

Identifier. The resource name of this Device resource.

Format: users/{user}/pairedDevices/{paired_device} Example: users/1234567890/pairedDevices/123 or users/me/pairedDevices/123

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of this Device resource.

Format: users/{user}/pairedDevices/{paired_device} Example: users/1234567890/pairedDevices/123 or users/me/pairedDevices/123

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

hasLastSyncTime()

public boolean hasLastSyncTime()

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastSyncTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PairedDevice other)

public PairedDevice.Builder mergeFrom(PairedDevice other)
Parameter
Name Description
other PairedDevice
Returns
Type Description
PairedDevice.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PairedDevice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PairedDevice.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PairedDevice.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PairedDevice.Builder
Overrides

mergeLastSyncTime(Timestamp value)

public PairedDevice.Builder mergeLastSyncTime(Timestamp value)

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PairedDevice.Builder

setBatteryLevel(int value)

public PairedDevice.Builder setBatteryLevel(int value)

Output only. The battery level of the device.

int32 battery_level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The batteryLevel to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setBatteryStatus(String value)

public PairedDevice.Builder setBatteryStatus(String value)

Output only. The battery status of the device. Supported: High | Medium | Low | Empty

string battery_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The batteryStatus to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setBatteryStatusBytes(ByteString value)

public PairedDevice.Builder setBatteryStatusBytes(ByteString value)

Output only. The battery status of the device. Supported: High | Medium | Low | Empty

string battery_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for batteryStatus to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setDeviceType(PairedDevice.DeviceType value)

public PairedDevice.Builder setDeviceType(PairedDevice.DeviceType value)

Output only. The device type. Supported: TRACKER | SCALE

.google.devicesandservices.health.v4.PairedDevice.DeviceType device_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PairedDevice.DeviceType

The deviceType to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setDeviceTypeValue(int value)

public PairedDevice.Builder setDeviceTypeValue(int value)

Output only. The device type. Supported: TRACKER | SCALE

.google.devicesandservices.health.v4.PairedDevice.DeviceType device_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for deviceType to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setDeviceVersion(String value)

public PairedDevice.Builder setDeviceVersion(String value)

Output only. The product name of the device

string device_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The deviceVersion to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setDeviceVersionBytes(ByteString value)

public PairedDevice.Builder setDeviceVersionBytes(ByteString value)

Output only. The product name of the device

string device_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for deviceVersion to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setFeatures(int index, String value)

public PairedDevice.Builder setFeatures(int index, String value)

Output only. Lists of unique features supported by the device.

Comprehensive list of supported features:

Fitness Tracking

  • ACTIVE_MINUTES: Legacy active minutes.
  • AUTOSTRIDE: Automatic stride length calculation.
  • BIKE_ONBOARDING: Cycling UI support.
  • CALORIES: Daily burned calories.
  • DISTANCE: Daily distance tracking.
  • ELEVATION: Floors climbed.
  • INACTIVITY_ALERTS: Reminders to move.
  • SEDENTARY_TIME: Tracks inactive time.
  • STEPS: Daily steps.
  • SWIM: Swim tracking (laps/strokes).
  • AUTORUN: Automatic run detection.
  • ACTIVE_ZONE_MINUTES: Active Zone Minutes (AZM).

    Heart Rate & Health

  • HEART_RATE: Continuous heart rate (PPG).

  • BAT_SIGNAL: High/Low Heart Rate Alerts.

    Advanced Sensors

  • SPO2: Blood oxygen saturation.

  • NIGHTTIME_OXYGEN_SATURATION: Sleep SpO2.
  • ESTIMATED_OXYGEN_VARIATION: Estimated Oxygen Variation.
  • EDA: Electrodermal Activity (stress).
  • SKIN_TEMPERATURE: Skin temperature variation.
  • INTERNAL_DEVICE_TEMPERATURE: Internal device temperature.

    Sleep & Wellness

  • SLEEP: Basic sleep tracking.

  • SMART_SLEEP: Advanced sleep tracking (stages/score).
  • BEDTIME_REMINDER: Bedtime reminders.
  • SOUNDSCAPE: Snore and noise detection.

    Advanced Workouts

  • WB: Custom Workout Builder.

  • AUTOCUES: Auto Cues / Auto Lap.
  • DWR_RUN: Daily Run Recommendations.
  • ADVANCED_RUNNING: Advanced Running Dynamics (e.g., GCT, VO).

    GPS & Location

  • GPS: Built-in GPS.

  • CONNECTED_GPS: Connected GPS (uses phone).
  • LOCATION_HINT: Location helper.

    Payments & NFC

  • PAYMENTS: NFC payments (Fitbit Pay/Google Wallet).

  • FELICA: FeliCa support (Japan payments/transit).

    Activity Detection

  • GROK: SmartTrack automatic activity detection.

  • RETRO_AR: Retroactive Activity Recognition prompts.

    Smart Features & UI

  • ALARMS: Silent alarms.

  • BLE_MUSIC_CONTROL: BLE music control.
  • MUSIC: Direct music storage/control.
  • YOUTUBE_MUSIC_SUPPORTED: YouTube Music support.
  • GALLERY: App Gallery.
  • TUTORIAL_SUPPORTED: On-screen tutorials.
  • SMILEY_EMOTE: Legacy Zip face.
  • MOBILE_TO_DEVICE_DEEPLINK: Mobile to device settings deep link.
  • HIDE_GALLERY: Option to hide Gallery.
  • HIDE_GOAL_SELECTION: Option to hide goal selection.
  • DIGITAL_WARRANTY_SUPPORTED: Digital warranty display.
  • DIRECT_DEVICE_SETTINGS_SUPPORTED: Direct device settings management.

    Gym HR Broadcasting

  • ASPEN_SUPPORTED: Broadcast HR to gym equipment.

  • ASPEN_REMOTE_UI_SUPPORTED: Remote UI for HR sharing.

    Privacy & Security

  • FINITE_IMPROBABILITY: BLE Resolvable Private Address (RPA) privacy.

  • DOMAIN_KEY_SYNC: Domain key synchronization.

    BLE Protocol

  • BONDING: Secure BLE bonding.

  • ADVERTISES_SERIAL: Advertises serial number.
  • STATUS_CHARACTERISTIC: BLE Status Characteristic.
  • TRACKER_CHANNEL_CHARACTERISTIC: BLE Tracker Channel Characteristic.
  • PING_CHARACTERISTIC: BLE Ping Characteristic.

    Cellular & Wi-Fi

  • MOBILE_DATA: LTE cellular support.

  • SINGLE_AP_WIFI: Single AP Wi-Fi.
  • MULTI_AP_WIFI: Multi AP Wi-Fi.
  • WIFI_FWUP: Firmware updates over Wi-Fi.

    Data Sync & Transfer

  • APP_SYNC: Background app sync.

  • LIVE_DATA: Real-time data streaming.
  • EVENT_BASED_SYNC_SUPPORTED: Event-based sync.
  • TIME_SERVICE: Time synchronization service.
  • REMOTE_FILE_PROVIDER: Remote file transfer.
  • DIRECT_COMMS_ALARMS: Direct communication for alarms.
  • DIRECT_COMMS_EXERCISE: Direct communication for exercise.
  • DIRECT_COMMS_BATTERY_ALERTS: Direct communication for battery alerts.

    Google Integrations

  • PARROT_TREE_SUPPORTED: Find My Device support.

repeated string features = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The features to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setLastSyncTime(Timestamp value)

public PairedDevice.Builder setLastSyncTime(Timestamp value)

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PairedDevice.Builder

setLastSyncTime(Timestamp.Builder builderForValue)

public PairedDevice.Builder setLastSyncTime(Timestamp.Builder builderForValue)

Output only. The time of last sync with the Fitbit mobile application.

.google.protobuf.Timestamp last_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PairedDevice.Builder

setMacAddress(String value)

public PairedDevice.Builder setMacAddress(String value)

Output only. Mac ID number of the device.

string mac_address = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The macAddress to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setMacAddressBytes(ByteString value)

public PairedDevice.Builder setMacAddressBytes(ByteString value)

Output only. Mac ID number of the device.

string mac_address = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for macAddress to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setName(String value)

public PairedDevice.Builder setName(String value)

Identifier. The resource name of this Device resource.

Format: users/{user}/pairedDevices/{paired_device} Example: users/1234567890/pairedDevices/123 or users/me/pairedDevices/123

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PairedDevice.Builder setNameBytes(ByteString value)

Identifier. The resource name of this Device resource.

Format: users/{user}/pairedDevices/{paired_device} Example: users/1234567890/pairedDevices/123 or users/me/pairedDevices/123

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PairedDevice.Builder

This builder for chaining.