public final class

DataProto.DataPoint.Builder

extends <any>

implements DataProto.DataPointOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.DataProto.DataPoint.Builder

Overview

 Next Id: 23
 
Protobuf type androidx.health.platform.client.proto.DataPoint

Summary

Methods
public DataProto.DataPoint.BuilderaddAllSeriesValues(java.lang.Iterable<DataProto.SeriesValue> values)

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

public DataProto.DataPoint.BuilderaddSeriesValues(DataProto.SeriesValue.Builder builderForValue)

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

public DataProto.DataPoint.BuilderaddSeriesValues(DataProto.SeriesValue value)

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

public DataProto.DataPoint.BuilderaddSeriesValues(int index, DataProto.SeriesValue.Builder builderForValue)

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

public DataProto.DataPoint.BuilderaddSeriesValues(int index, DataProto.SeriesValue value)

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

public DataProto.DataPoint.BuilderclearAvg()

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

public DataProto.DataPoint.BuilderclearClientId()

optional string client_id = 11;

public DataProto.DataPoint.BuilderclearClientVersion()

optional int64 client_version = 12;

public DataProto.DataPoint.BuilderclearDataOrigin()

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

public DataProto.DataPoint.BuilderclearDataType()

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

public DataProto.DataPoint.BuilderclearDevice()

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

public DataProto.DataPoint.BuilderclearEndTimeMillis()

optional int64 end_time_millis = 10;

public DataProto.DataPoint.BuilderclearEndZoneOffsetSeconds()

optional int32 end_zone_offset_seconds = 20;

public DataProto.DataPoint.BuilderclearInstantTimeMillis()

 Unset if interval start/end millis are used.

public DataProto.DataPoint.BuilderclearMax()

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

public DataProto.DataPoint.BuilderclearMin()

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

public DataProto.DataPoint.BuilderclearOriginSampleUid()

optional string origin_sample_uid = 14;

public DataProto.DataPoint.BuilderclearOriginSeriesUid()

optional string origin_series_uid = 4;

public DataProto.DataPoint.BuilderclearRecordingMethod()

optional int32 recording_method = 23;

public DataProto.DataPoint.BuilderclearSeriesValues()

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

public DataProto.DataPoint.BuilderclearStartTimeMillis()

optional int64 start_time_millis = 9;

public DataProto.DataPoint.BuilderclearStartZoneOffsetSeconds()

optional int32 start_zone_offset_seconds = 19;

public DataProto.DataPoint.BuilderclearSubTypeDataLists()

public DataProto.DataPoint.BuilderclearUid()

optional string uid = 3;

public DataProto.DataPoint.BuilderclearUpdateTimeMillis()

optional int64 update_time_millis = 7;

public DataProto.DataPoint.BuilderclearValues()

public DataProto.DataPoint.BuilderclearZoneOffsetSeconds()

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

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.DataPoint.Builder.getSubTypeDataListsMap() instead.

public intgetSubTypeDataListsCount()

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.DataPoint.Builder.getValuesMap() instead.

public intgetValuesCount()

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.

public DataProto.DataPoint.BuildermergeAvg(DataProto.AggregatedValue value)

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

public DataProto.DataPoint.BuildermergeDataOrigin(DataProto.DataOrigin value)

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

public DataProto.DataPoint.BuildermergeDataType(DataProto.DataType value)

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

public DataProto.DataPoint.BuildermergeDevice(DataProto.Device value)

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

public DataProto.DataPoint.BuildermergeMax(DataProto.AggregatedValue value)

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

public DataProto.DataPoint.BuildermergeMin(DataProto.AggregatedValue value)

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

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

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

public DataProto.DataPoint.BuilderputAllValues(java.util.Map<java.lang.String, DataProto.Value> values)

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

public DataProto.DataPoint.BuilderputSubTypeDataLists(java.lang.String key, DataProto.DataPoint.SubTypeDataList value)

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

public DataProto.DataPoint.BuilderputValues(java.lang.String key, DataProto.Value value)

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

public DataProto.DataPoint.BuilderremoveSeriesValues(int index)

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

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

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

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

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

public DataProto.DataPoint.BuildersetAvg(DataProto.AggregatedValue.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetAvg(DataProto.AggregatedValue value)

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

public DataProto.DataPoint.BuildersetClientId(java.lang.String value)

optional string client_id = 11;

public DataProto.DataPoint.BuildersetClientIdBytes(com.google.protobuf.ByteString value)

optional string client_id = 11;

public DataProto.DataPoint.BuildersetClientVersion(long value)

optional int64 client_version = 12;

public DataProto.DataPoint.BuildersetDataOrigin(DataProto.DataOrigin.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetDataOrigin(DataProto.DataOrigin value)

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

public DataProto.DataPoint.BuildersetDataType(DataProto.DataType.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetDataType(DataProto.DataType value)

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

public DataProto.DataPoint.BuildersetDevice(DataProto.Device.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetDevice(DataProto.Device value)

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

public DataProto.DataPoint.BuildersetEndTimeMillis(long value)

optional int64 end_time_millis = 10;

public DataProto.DataPoint.BuildersetEndZoneOffsetSeconds(int value)

optional int32 end_zone_offset_seconds = 20;

public DataProto.DataPoint.BuildersetInstantTimeMillis(long value)

 Unset if interval start/end millis are used.

public DataProto.DataPoint.BuildersetMax(DataProto.AggregatedValue.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetMax(DataProto.AggregatedValue value)

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

public DataProto.DataPoint.BuildersetMin(DataProto.AggregatedValue.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetMin(DataProto.AggregatedValue value)

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

public DataProto.DataPoint.BuildersetOriginSampleUid(java.lang.String value)

optional string origin_sample_uid = 14;

public DataProto.DataPoint.BuildersetOriginSampleUidBytes(com.google.protobuf.ByteString value)

optional string origin_sample_uid = 14;

public DataProto.DataPoint.BuildersetOriginSeriesUid(java.lang.String value)

optional string origin_series_uid = 4;

public DataProto.DataPoint.BuildersetOriginSeriesUidBytes(com.google.protobuf.ByteString value)

optional string origin_series_uid = 4;

public DataProto.DataPoint.BuildersetRecordingMethod(int value)

optional int32 recording_method = 23;

public DataProto.DataPoint.BuildersetSeriesValues(int index, DataProto.SeriesValue.Builder builderForValue)

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

public DataProto.DataPoint.BuildersetSeriesValues(int index, DataProto.SeriesValue value)

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

public DataProto.DataPoint.BuildersetStartTimeMillis(long value)

optional int64 start_time_millis = 9;

public DataProto.DataPoint.BuildersetStartZoneOffsetSeconds(int value)

optional int32 start_zone_offset_seconds = 19;

public DataProto.DataPoint.BuildersetUid(java.lang.String value)

optional string uid = 3;

public DataProto.DataPoint.BuildersetUidBytes(com.google.protobuf.ByteString value)

optional string uid = 3;

public DataProto.DataPoint.BuildersetUpdateTimeMillis(long value)

optional int64 update_time_millis = 7;

public DataProto.DataPoint.BuildersetZoneOffsetSeconds(int value)

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasDataType()

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

public DataProto.DataType getDataType()

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

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

public DataProto.DataPoint.Builder setDataType(DataProto.DataType.Builder builderForValue)

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

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

public DataProto.DataPoint.Builder clearDataType()

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

public int getValuesCount()

public boolean containsValues(java.lang.String key)

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

public DataProto.DataPoint.Builder clearValues()

public DataProto.DataPoint.Builder removeValues(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.DataPoint.Builder.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 DataProto.DataPoint.Builder putValues(java.lang.String key, DataProto.Value value)

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

public DataProto.DataPoint.Builder putAllValues(java.util.Map<java.lang.String, DataProto.Value> values)

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 DataProto.DataPoint.Builder setUid(java.lang.String value)

optional string uid = 3;

Parameters:

value: The uid to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearUid()

optional string uid = 3;

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder setUidBytes(com.google.protobuf.ByteString value)

optional string uid = 3;

Parameters:

value: The bytes for uid to set.

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setOriginSeriesUid(java.lang.String value)

optional string origin_series_uid = 4;

Parameters:

value: The originSeriesUid to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearOriginSeriesUid()

optional string origin_series_uid = 4;

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder setOriginSeriesUidBytes(com.google.protobuf.ByteString value)

optional string origin_series_uid = 4;

Parameters:

value: The bytes for originSeriesUid to set.

Returns:

This builder for chaining.

public boolean hasDataOrigin()

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

public DataProto.DataOrigin getDataOrigin()

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

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

public DataProto.DataPoint.Builder setDataOrigin(DataProto.DataOrigin.Builder builderForValue)

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

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

public DataProto.DataPoint.Builder clearDataOrigin()

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

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 DataProto.DataPoint.Builder setZoneOffsetSeconds(int value)

 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;

Parameters:

value: The zoneOffsetSeconds to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearZoneOffsetSeconds()

 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:

This builder for chaining.

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 DataProto.DataPoint.Builder setUpdateTimeMillis(long value)

optional int64 update_time_millis = 7;

Parameters:

value: The updateTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearUpdateTimeMillis()

optional int64 update_time_millis = 7;

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setInstantTimeMillis(long value)

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

Parameters:

value: The instantTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearInstantTimeMillis()

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

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setStartTimeMillis(long value)

optional int64 start_time_millis = 9;

Parameters:

value: The startTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearStartTimeMillis()

optional int64 start_time_millis = 9;

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setEndTimeMillis(long value)

optional int64 end_time_millis = 10;

Parameters:

value: The endTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearEndTimeMillis()

optional int64 end_time_millis = 10;

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setClientId(java.lang.String value)

optional string client_id = 11;

Parameters:

value: The clientId to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearClientId()

optional string client_id = 11;

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder setClientIdBytes(com.google.protobuf.ByteString value)

optional string client_id = 11;

Parameters:

value: The bytes for clientId to set.

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setClientVersion(long value)

optional int64 client_version = 12;

Parameters:

value: The clientVersion to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearClientVersion()

optional int64 client_version = 12;

Returns:

This builder for chaining.

public boolean hasDevice()

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

public DataProto.Device getDevice()

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

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

public DataProto.DataPoint.Builder setDevice(DataProto.Device.Builder builderForValue)

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

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

public DataProto.DataPoint.Builder clearDevice()

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

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 DataProto.DataPoint.Builder setOriginSampleUid(java.lang.String value)

optional string origin_sample_uid = 14;

Parameters:

value: The originSampleUid to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearOriginSampleUid()

optional string origin_sample_uid = 14;

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder setOriginSampleUidBytes(com.google.protobuf.ByteString value)

optional string origin_sample_uid = 14;

Parameters:

value: The bytes for originSampleUid to set.

Returns:

This builder for chaining.

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

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

public int getSeriesValuesCount()

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 DataProto.DataPoint.Builder setSeriesValues(int index, DataProto.SeriesValue value)

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

public DataProto.DataPoint.Builder setSeriesValues(int index, DataProto.SeriesValue.Builder builderForValue)

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

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

public DataProto.DataPoint.Builder addSeriesValues(int index, DataProto.SeriesValue value)

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

public DataProto.DataPoint.Builder addSeriesValues(DataProto.SeriesValue.Builder builderForValue)

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

public DataProto.DataPoint.Builder addSeriesValues(int index, DataProto.SeriesValue.Builder builderForValue)

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

public DataProto.DataPoint.Builder addAllSeriesValues(java.lang.Iterable<DataProto.SeriesValue> values)

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

public DataProto.DataPoint.Builder clearSeriesValues()

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

public DataProto.DataPoint.Builder removeSeriesValues(int index)

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

public boolean hasMin()

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

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

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

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

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

public DataProto.DataPoint.Builder clearMin()

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

public boolean hasMax()

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

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

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

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

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

public DataProto.DataPoint.Builder clearMax()

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

public boolean hasAvg()

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

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

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

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

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

public DataProto.DataPoint.Builder clearAvg()

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

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 DataProto.DataPoint.Builder setStartZoneOffsetSeconds(int value)

optional int32 start_zone_offset_seconds = 19;

Parameters:

value: The startZoneOffsetSeconds to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearStartZoneOffsetSeconds()

optional int32 start_zone_offset_seconds = 19;

Returns:

This builder for chaining.

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 DataProto.DataPoint.Builder setEndZoneOffsetSeconds(int value)

optional int32 end_zone_offset_seconds = 20;

Parameters:

value: The endZoneOffsetSeconds to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearEndZoneOffsetSeconds()

optional int32 end_zone_offset_seconds = 20;

Returns:

This builder for chaining.

public int getSubTypeDataListsCount()

public boolean containsSubTypeDataLists(java.lang.String key)

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

public DataProto.DataPoint.Builder clearSubTypeDataLists()

public DataProto.DataPoint.Builder removeSubTypeDataLists(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.DataPoint.Builder.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 DataProto.DataPoint.Builder putSubTypeDataLists(java.lang.String key, DataProto.DataPoint.SubTypeDataList value)

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

public DataProto.DataPoint.Builder putAllSubTypeDataLists(java.util.Map<java.lang.String, DataProto.DataPoint.SubTypeDataList> values)

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.

public DataProto.DataPoint.Builder setRecordingMethod(int value)

optional int32 recording_method = 23;

Parameters:

value: The recordingMethod to set.

Returns:

This builder for chaining.

public DataProto.DataPoint.Builder clearRecordingMethod()

optional int32 recording_method = 23;

Returns:

This builder for chaining.