Interface DataSource.ApplicationOrBuilder (0.2.0)

public static interface DataSource.ApplicationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGoogleWebClientId()

public abstract String getGoogleWebClientId()

Output only. The Google OAuth 2.0 client ID of the web application or service that recorded the data.

This is the client ID used during the Google OAuth flow to obtain user credentials. This field is system-populated when the data is uploaded from Google Web API.

string google_web_client_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The googleWebClientId.

getGoogleWebClientIdBytes()

public abstract ByteString getGoogleWebClientIdBytes()

Output only. The Google OAuth 2.0 client ID of the web application or service that recorded the data.

This is the client ID used during the Google OAuth flow to obtain user credentials. This field is system-populated when the data is uploaded from Google Web API.

string google_web_client_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for googleWebClientId.

getPackageName()

public abstract String getPackageName()

Output only. A unique identifier for the mobile application that was the source of the data.

This is typically the application's package name on Android (e.g., com.google.fitbit) or the bundle ID on iOS. This field is informational and helps trace data origin. This field is system-populated when the data is uploaded from the Fitbit mobile application, Health Connect or Health Kit.

string package_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The packageName.

getPackageNameBytes()

public abstract ByteString getPackageNameBytes()

Output only. A unique identifier for the mobile application that was the source of the data.

This is typically the application's package name on Android (e.g., com.google.fitbit) or the bundle ID on iOS. This field is informational and helps trace data origin. This field is system-populated when the data is uploaded from the Fitbit mobile application, Health Connect or Health Kit.

string package_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for packageName.

getWebClientId()

public abstract String getWebClientId()

Output only. The client ID of the application that recorded the data.

This ID is a legacy Fitbit API client ID, which is different from a Google OAuth client ID. Example format: ABC123. This field is system-populated and used for tracing data from legacy Fitbit API integrations. This field is system-populated when the data is uploaded from a legacy Fitbit API integration.

string web_client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The webClientId.

getWebClientIdBytes()

public abstract ByteString getWebClientIdBytes()

Output only. The client ID of the application that recorded the data.

This ID is a legacy Fitbit API client ID, which is different from a Google OAuth client ID. Example format: ABC123. This field is system-populated and used for tracing data from legacy Fitbit API integrations. This field is system-populated when the data is uploaded from a legacy Fitbit API integration.

string web_client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for webClientId.