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 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.