public interface

DataProto.AggregateDataRowOrBuilder

 androidx.health.platform.client.proto.DataProto.AggregateDataRowOrBuilder

Subclasses:

DataProto.AggregateDataRow, DataProto.AggregateDataRow.Builder

Summary

Methods
public booleancontainsDoubleValues(java.lang.String key)

 Key by metric spec {type}_{field}_{agg}

public booleancontainsLongValues(java.lang.String key)

map<string, int64> long_values = 7;

public DataProto.DataOrigingetDataOrigins(int index)

repeated .androidx.health.platform.client.proto.DataOrigin data_origins = 8;

public intgetDataOriginsCount()

repeated .androidx.health.platform.client.proto.DataOrigin data_origins = 8;

public java.util.List<DataProto.DataOrigin>getDataOriginsList()

repeated .androidx.health.platform.client.proto.DataOrigin data_origins = 8;

public java.util.Map<java.lang.String, java.lang.Double>getDoubleValues()

Use DataProto.AggregateDataRowOrBuilder.getDoubleValuesMap() instead.

public intgetDoubleValuesCount()

 Key by metric spec {type}_{field}_{agg}

public java.util.Map<java.lang.String, java.lang.Double>getDoubleValuesMap()

 Key by metric spec {type}_{field}_{agg}

public doublegetDoubleValuesOrDefault(java.lang.String key, double defaultValue)

 Key by metric spec {type}_{field}_{agg}

public doublegetDoubleValuesOrThrow(java.lang.String key)

 Key by metric spec {type}_{field}_{agg}

public java.lang.StringgetEndLocalDateTime()

optional string end_local_date_time = 4;

public com.google.protobuf.ByteStringgetEndLocalDateTimeBytes()

optional string end_local_date_time = 4;

public longgetEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

public java.util.Map<java.lang.String, java.lang.Long>getLongValues()

Use DataProto.AggregateDataRowOrBuilder.getLongValuesMap() instead.

public intgetLongValuesCount()

map<string, int64> long_values = 7;

public java.util.Map<java.lang.String, java.lang.Long>getLongValuesMap()

map<string, int64> long_values = 7;

public longgetLongValuesOrDefault(java.lang.String key, long defaultValue)

map<string, int64> long_values = 7;

public longgetLongValuesOrThrow(java.lang.String key)

map<string, int64> long_values = 7;

public java.lang.StringgetStartLocalDateTime()

optional string start_local_date_time = 3;

public com.google.protobuf.ByteStringgetStartLocalDateTimeBytes()

optional string start_local_date_time = 3;

public longgetStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

public intgetZoneOffsetSeconds()

optional int32 zone_offset_seconds = 5;

public booleanhasEndLocalDateTime()

optional string end_local_date_time = 4;

public booleanhasEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

public booleanhasStartLocalDateTime()

optional string start_local_date_time = 3;

public booleanhasStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

public booleanhasZoneOffsetSeconds()

optional int32 zone_offset_seconds = 5;

Methods

public boolean hasStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

Returns:

Whether the startTimeEpochMs field is set.

public long getStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

Returns:

The startTimeEpochMs.

public boolean hasEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

Returns:

Whether the endTimeEpochMs field is set.

public long getEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

Returns:

The endTimeEpochMs.

public boolean hasStartLocalDateTime()

optional string start_local_date_time = 3;

Returns:

Whether the startLocalDateTime field is set.

public java.lang.String getStartLocalDateTime()

optional string start_local_date_time = 3;

Returns:

The startLocalDateTime.

public com.google.protobuf.ByteString getStartLocalDateTimeBytes()

optional string start_local_date_time = 3;

Returns:

The bytes for startLocalDateTime.

public boolean hasEndLocalDateTime()

optional string end_local_date_time = 4;

Returns:

Whether the endLocalDateTime field is set.

public java.lang.String getEndLocalDateTime()

optional string end_local_date_time = 4;

Returns:

The endLocalDateTime.

public com.google.protobuf.ByteString getEndLocalDateTimeBytes()

optional string end_local_date_time = 4;

Returns:

The bytes for endLocalDateTime.

public boolean hasZoneOffsetSeconds()

optional int32 zone_offset_seconds = 5;

Returns:

Whether the zoneOffsetSeconds field is set.

public int getZoneOffsetSeconds()

optional int32 zone_offset_seconds = 5;

Returns:

The zoneOffsetSeconds.

public int getDoubleValuesCount()

 Key by metric spec {type}_{field}_{agg}
 
map<string, double> double_values = 6;

public boolean containsDoubleValues(java.lang.String key)

 Key by metric spec {type}_{field}_{agg}
 
map<string, double> double_values = 6;

public java.util.Map<java.lang.String, java.lang.Double> getDoubleValues()

Use DataProto.AggregateDataRowOrBuilder.getDoubleValuesMap() instead.

public java.util.Map<java.lang.String, java.lang.Double> getDoubleValuesMap()

 Key by metric spec {type}_{field}_{agg}
 
map<string, double> double_values = 6;

public double getDoubleValuesOrDefault(java.lang.String key, double defaultValue)

 Key by metric spec {type}_{field}_{agg}
 
map<string, double> double_values = 6;

public double getDoubleValuesOrThrow(java.lang.String key)

 Key by metric spec {type}_{field}_{agg}
 
map<string, double> double_values = 6;

public int getLongValuesCount()

map<string, int64> long_values = 7;

public boolean containsLongValues(java.lang.String key)

map<string, int64> long_values = 7;

public java.util.Map<java.lang.String, java.lang.Long> getLongValues()

Use DataProto.AggregateDataRowOrBuilder.getLongValuesMap() instead.

public java.util.Map<java.lang.String, java.lang.Long> getLongValuesMap()

map<string, int64> long_values = 7;

public long getLongValuesOrDefault(java.lang.String key, long defaultValue)

map<string, int64> long_values = 7;

public long getLongValuesOrThrow(java.lang.String key)

map<string, int64> long_values = 7;

public java.util.List<DataProto.DataOrigin> getDataOriginsList()

repeated .androidx.health.platform.client.proto.DataOrigin data_origins = 8;

public DataProto.DataOrigin getDataOrigins(int index)

repeated .androidx.health.platform.client.proto.DataOrigin data_origins = 8;

public int getDataOriginsCount()

repeated .androidx.health.platform.client.proto.DataOrigin data_origins = 8;