public interface

DataProto.DataPointOrBuilder

 androidx.health.platform.client.proto.DataProto.DataPointOrBuilder

Subclasses:

DataProto.DataPoint, DataProto.DataPoint.Builder

Summary

Methods
public booleancontainsSubTypeDataLists(java.lang.String key)

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public booleancontainsValues(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public DataProto.AggregatedValuegetAvg()

optional .androidx.health.platform.client.proto.AggregatedValue avg = 18;

public java.lang.StringgetClientId()

optional string client_id = 11;

public com.google.protobuf.ByteStringgetClientIdBytes()

optional string client_id = 11;

public longgetClientVersion()

optional int64 client_version = 12;

public DataProto.DataOrigingetDataOrigin()

optional .androidx.health.platform.client.proto.DataOrigin data_origin = 5;

public DataProto.DataTypegetDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public DataProto.DevicegetDevice()

optional .androidx.health.platform.client.proto.Device device = 13;

public longgetEndTimeMillis()

optional int64 end_time_millis = 10;

public intgetEndZoneOffsetSeconds()

optional int32 end_zone_offset_seconds = 20;

public longgetInstantTimeMillis()

 Unset if interval start/end millis are used.

public DataProto.AggregatedValuegetMax()

optional .androidx.health.platform.client.proto.AggregatedValue max = 17;

public DataProto.AggregatedValuegetMin()

optional .androidx.health.platform.client.proto.AggregatedValue min = 16;

public java.lang.StringgetOriginSampleUid()

optional string origin_sample_uid = 14;

public com.google.protobuf.ByteStringgetOriginSampleUidBytes()

optional string origin_sample_uid = 14;

public java.lang.StringgetOriginSeriesUid()

optional string origin_series_uid = 4;

public com.google.protobuf.ByteStringgetOriginSeriesUidBytes()

optional string origin_series_uid = 4;

public intgetRecordingMethod()

optional int32 recording_method = 23;

public DataProto.SeriesValuegetSeriesValues(int index)

repeated .androidx.health.platform.client.proto.SeriesValue series_values = 15;

public intgetSeriesValuesCount()

repeated .androidx.health.platform.client.proto.SeriesValue series_values = 15;

public java.util.List<DataProto.SeriesValue>getSeriesValuesList()

repeated .androidx.health.platform.client.proto.SeriesValue series_values = 15;

public longgetStartTimeMillis()

optional int64 start_time_millis = 9;

public intgetStartZoneOffsetSeconds()

optional int32 start_zone_offset_seconds = 19;

public java.util.Map<java.lang.String, DataProto.DataPoint.SubTypeDataList>getSubTypeDataLists()

Use DataProto.DataPointOrBuilder.getSubTypeDataListsMap() instead.

public intgetSubTypeDataListsCount()

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public java.util.Map<java.lang.String, DataProto.DataPoint.SubTypeDataList>getSubTypeDataListsMap()

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public DataProto.DataPoint.SubTypeDataListgetSubTypeDataListsOrDefault(java.lang.String key, DataProto.DataPoint.SubTypeDataList defaultValue)

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public DataProto.DataPoint.SubTypeDataListgetSubTypeDataListsOrThrow(java.lang.String key)

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public java.lang.StringgetUid()

optional string uid = 3;

public com.google.protobuf.ByteStringgetUidBytes()

optional string uid = 3;

public longgetUpdateTimeMillis()

optional int64 update_time_millis = 7;

public java.util.Map<java.lang.String, DataProto.Value>getValues()

Use DataProto.DataPointOrBuilder.getValuesMap() instead.

public intgetValuesCount()

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public java.util.Map<java.lang.String, DataProto.Value>getValuesMap()

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public DataProto.ValuegetValuesOrDefault(java.lang.String key, DataProto.Value defaultValue)

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public DataProto.ValuegetValuesOrThrow(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public intgetZoneOffsetSeconds()

 Unset if it is interval or series data, use start_zone_offset_seconds and
 end_zone_offset_seconds instead.

public booleanhasAvg()

optional .androidx.health.platform.client.proto.AggregatedValue avg = 18;

public booleanhasClientId()

optional string client_id = 11;

public booleanhasClientVersion()

optional int64 client_version = 12;

public booleanhasDataOrigin()

optional .androidx.health.platform.client.proto.DataOrigin data_origin = 5;

public booleanhasDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public booleanhasDevice()

optional .androidx.health.platform.client.proto.Device device = 13;

public booleanhasEndTimeMillis()

optional int64 end_time_millis = 10;

public booleanhasEndZoneOffsetSeconds()

optional int32 end_zone_offset_seconds = 20;

public booleanhasInstantTimeMillis()

 Unset if interval start/end millis are used.

public booleanhasMax()

optional .androidx.health.platform.client.proto.AggregatedValue max = 17;

public booleanhasMin()

optional .androidx.health.platform.client.proto.AggregatedValue min = 16;

public booleanhasOriginSampleUid()

optional string origin_sample_uid = 14;

public booleanhasOriginSeriesUid()

optional string origin_series_uid = 4;

public booleanhasRecordingMethod()

optional int32 recording_method = 23;

public booleanhasStartTimeMillis()

optional int64 start_time_millis = 9;

public booleanhasStartZoneOffsetSeconds()

optional int32 start_zone_offset_seconds = 19;

public booleanhasUid()

optional string uid = 3;

public booleanhasUpdateTimeMillis()

optional int64 update_time_millis = 7;

public booleanhasZoneOffsetSeconds()

 Unset if it is interval or series data, use start_zone_offset_seconds and
 end_zone_offset_seconds instead.

Methods

public boolean hasDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

Returns:

Whether the dataType field is set.

public DataProto.DataType getDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

Returns:

The dataType.

public int getValuesCount()

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public boolean containsValues(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public java.util.Map<java.lang.String, DataProto.Value> getValues()

Use DataProto.DataPointOrBuilder.getValuesMap() instead.

public java.util.Map<java.lang.String, DataProto.Value> getValuesMap()

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public DataProto.Value getValuesOrDefault(java.lang.String key, DataProto.Value defaultValue)

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public DataProto.Value getValuesOrThrow(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 2;

public boolean hasUid()

optional string uid = 3;

Returns:

Whether the uid field is set.

public java.lang.String getUid()

optional string uid = 3;

Returns:

The uid.

public com.google.protobuf.ByteString getUidBytes()

optional string uid = 3;

Returns:

The bytes for uid.

public boolean hasOriginSeriesUid()

optional string origin_series_uid = 4;

Returns:

Whether the originSeriesUid field is set.

public java.lang.String getOriginSeriesUid()

optional string origin_series_uid = 4;

Returns:

The originSeriesUid.

public com.google.protobuf.ByteString getOriginSeriesUidBytes()

optional string origin_series_uid = 4;

Returns:

The bytes for originSeriesUid.

public boolean hasDataOrigin()

optional .androidx.health.platform.client.proto.DataOrigin data_origin = 5;

Returns:

Whether the dataOrigin field is set.

public DataProto.DataOrigin getDataOrigin()

optional .androidx.health.platform.client.proto.DataOrigin data_origin = 5;

Returns:

The dataOrigin.

public boolean hasZoneOffsetSeconds()

 Unset if it is interval or series data, use start_zone_offset_seconds and
 end_zone_offset_seconds instead.
 
optional int32 zone_offset_seconds = 6;

Returns:

Whether the zoneOffsetSeconds field is set.

public int getZoneOffsetSeconds()

 Unset if it is interval or series data, use start_zone_offset_seconds and
 end_zone_offset_seconds instead.
 
optional int32 zone_offset_seconds = 6;

Returns:

The zoneOffsetSeconds.

public boolean hasUpdateTimeMillis()

optional int64 update_time_millis = 7;

Returns:

Whether the updateTimeMillis field is set.

public long getUpdateTimeMillis()

optional int64 update_time_millis = 7;

Returns:

The updateTimeMillis.

public boolean hasInstantTimeMillis()

 Unset if interval start/end millis are used.
 
optional int64 instant_time_millis = 8;

Returns:

Whether the instantTimeMillis field is set.

public long getInstantTimeMillis()

 Unset if interval start/end millis are used.
 
optional int64 instant_time_millis = 8;

Returns:

The instantTimeMillis.

public boolean hasStartTimeMillis()

optional int64 start_time_millis = 9;

Returns:

Whether the startTimeMillis field is set.

public long getStartTimeMillis()

optional int64 start_time_millis = 9;

Returns:

The startTimeMillis.

public boolean hasEndTimeMillis()

optional int64 end_time_millis = 10;

Returns:

Whether the endTimeMillis field is set.

public long getEndTimeMillis()

optional int64 end_time_millis = 10;

Returns:

The endTimeMillis.

public boolean hasClientId()

optional string client_id = 11;

Returns:

Whether the clientId field is set.

public java.lang.String getClientId()

optional string client_id = 11;

Returns:

The clientId.

public com.google.protobuf.ByteString getClientIdBytes()

optional string client_id = 11;

Returns:

The bytes for clientId.

public boolean hasClientVersion()

optional int64 client_version = 12;

Returns:

Whether the clientVersion field is set.

public long getClientVersion()

optional int64 client_version = 12;

Returns:

The clientVersion.

public boolean hasDevice()

optional .androidx.health.platform.client.proto.Device device = 13;

Returns:

Whether the device field is set.

public DataProto.Device getDevice()

optional .androidx.health.platform.client.proto.Device device = 13;

Returns:

The device.

public boolean hasOriginSampleUid()

optional string origin_sample_uid = 14;

Returns:

Whether the originSampleUid field is set.

public java.lang.String getOriginSampleUid()

optional string origin_sample_uid = 14;

Returns:

The originSampleUid.

public com.google.protobuf.ByteString getOriginSampleUidBytes()

optional string origin_sample_uid = 14;

Returns:

The bytes for originSampleUid.

public java.util.List<DataProto.SeriesValue> getSeriesValuesList()

repeated .androidx.health.platform.client.proto.SeriesValue series_values = 15;

public DataProto.SeriesValue getSeriesValues(int index)

repeated .androidx.health.platform.client.proto.SeriesValue series_values = 15;

public int getSeriesValuesCount()

repeated .androidx.health.platform.client.proto.SeriesValue series_values = 15;

public boolean hasMin()

optional .androidx.health.platform.client.proto.AggregatedValue min = 16;

Returns:

Whether the min field is set.

optional .androidx.health.platform.client.proto.AggregatedValue min = 16;

Returns:

The min.

public boolean hasMax()

optional .androidx.health.platform.client.proto.AggregatedValue max = 17;

Returns:

Whether the max field is set.

optional .androidx.health.platform.client.proto.AggregatedValue max = 17;

Returns:

The max.

public boolean hasAvg()

optional .androidx.health.platform.client.proto.AggregatedValue avg = 18;

Returns:

Whether the avg field is set.

optional .androidx.health.platform.client.proto.AggregatedValue avg = 18;

Returns:

The avg.

public boolean hasStartZoneOffsetSeconds()

optional int32 start_zone_offset_seconds = 19;

Returns:

Whether the startZoneOffsetSeconds field is set.

public int getStartZoneOffsetSeconds()

optional int32 start_zone_offset_seconds = 19;

Returns:

The startZoneOffsetSeconds.

public boolean hasEndZoneOffsetSeconds()

optional int32 end_zone_offset_seconds = 20;

Returns:

Whether the endZoneOffsetSeconds field is set.

public int getEndZoneOffsetSeconds()

optional int32 end_zone_offset_seconds = 20;

Returns:

The endZoneOffsetSeconds.

public int getSubTypeDataListsCount()

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public boolean containsSubTypeDataLists(java.lang.String key)

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public java.util.Map<java.lang.String, DataProto.DataPoint.SubTypeDataList> getSubTypeDataLists()

Use DataProto.DataPointOrBuilder.getSubTypeDataListsMap() instead.

public java.util.Map<java.lang.String, DataProto.DataPoint.SubTypeDataList> getSubTypeDataListsMap()

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public DataProto.DataPoint.SubTypeDataList getSubTypeDataListsOrDefault(java.lang.String key, DataProto.DataPoint.SubTypeDataList defaultValue)

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public DataProto.DataPoint.SubTypeDataList getSubTypeDataListsOrThrow(java.lang.String key)

map<string, .androidx.health.platform.client.proto.DataPoint.SubTypeDataList> sub_type_data_lists = 22;

public boolean hasRecordingMethod()

optional int32 recording_method = 23;

Returns:

Whether the recordingMethod field is set.

public int getRecordingMethod()

optional int32 recording_method = 23;

Returns:

The recordingMethod.