Interface DataSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSource,DataSource.Builder
@Generated
public interface DataSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.Optional.Optional.Output only.intOutput only.Optional.intOptional.booleanOutput only.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRecordingMethodValue
int getRecordingMethodValue()Optional. Captures how the data was recorded.
.google.devicesandservices.health.v4.DataSource.RecordingMethod recording_method = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for recordingMethod.
-
getRecordingMethod
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:
- The recordingMethod.
-
hasDevice
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:
- Whether the device field is set.
-
getDevice
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:
- The device.
-
getDeviceOrBuilder
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]; -
hasApplication
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:
- Whether the application field is set.
-
getApplication
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:
- The application.
-
getApplicationOrBuilder
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]; -
getPlatformValue
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:
- The enum numeric value on the wire for platform.
-
getPlatform
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:
- The platform.
-