public interface DataSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getApplication()
public abstract DataSource.Application getApplication()Output only. Captures metadata for the application that provided this data.
.google.devicesandservices.health.v4.DataSource.Application application = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSource.Application |
The application. |
getApplicationOrBuilder()
public abstract DataSource.ApplicationOrBuilder getApplicationOrBuilder()Output only. Captures metadata for the application that provided this data.
.google.devicesandservices.health.v4.DataSource.Application application = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSource.ApplicationOrBuilder |
|
getDevice()
public abstract DataSource.Device getDevice()Optional. Captures metadata for raw data points originating from devices. We expect this data source to be used for data points written on device sync.
.google.devicesandservices.health.v4.DataSource.Device device = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataSource.Device |
The device. |
getDeviceOrBuilder()
public abstract DataSource.DeviceOrBuilder getDeviceOrBuilder()Optional. Captures metadata for raw data points originating from devices. We expect this data source to be used for data points written on device sync.
.google.devicesandservices.health.v4.DataSource.Device device = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataSource.DeviceOrBuilder |
|
getPlatform()
public abstract DataSource.Platform getPlatform()Output only. Captures the platform that uploaded the data.
.google.devicesandservices.health.v4.DataSource.Platform platform = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataSource.Platform |
The platform. |
getPlatformValue()
public abstract int getPlatformValue()Output only. Captures the platform that uploaded the data.
.google.devicesandservices.health.v4.DataSource.Platform platform = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for platform. |
getRecordingMethod()
public abstract DataSource.RecordingMethod getRecordingMethod()Optional. Captures how the data was recorded.
.google.devicesandservices.health.v4.DataSource.RecordingMethod recording_method = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataSource.RecordingMethod |
The recordingMethod. |
getRecordingMethodValue()
public abstract int getRecordingMethodValue()Optional. Captures how the data was recorded.
.google.devicesandservices.health.v4.DataSource.RecordingMethod recording_method = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for recordingMethod. |
hasApplication()
public abstract boolean hasApplication()Output only. Captures metadata for the application that provided this data.
.google.devicesandservices.health.v4.DataSource.Application application = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the application field is set. |
hasDevice()
public abstract boolean hasDevice()Optional. Captures metadata for raw data points originating from devices. We expect this data source to be used for data points written on device sync.
.google.devicesandservices.health.v4.DataSource.Device device = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the device field is set. |