public final class

DataProto.AggregateDataRow.Builder

extends <any>

implements DataProto.AggregateDataRowOrBuilder

 java.lang.Object

↳<any>

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

Overview

Protobuf type androidx.health.platform.client.proto.AggregateDataRow

Summary

Methods
public DataProto.AggregateDataRow.BuilderaddAllDataOrigins(java.lang.Iterable<DataProto.DataOrigin> values)

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

public DataProto.AggregateDataRow.BuilderaddDataOrigins(DataProto.DataOrigin.Builder builderForValue)

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

public DataProto.AggregateDataRow.BuilderaddDataOrigins(DataProto.DataOrigin value)

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

public DataProto.AggregateDataRow.BuilderaddDataOrigins(int index, DataProto.DataOrigin.Builder builderForValue)

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

public DataProto.AggregateDataRow.BuilderaddDataOrigins(int index, DataProto.DataOrigin value)

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

public DataProto.AggregateDataRow.BuilderclearDataOrigins()

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

public DataProto.AggregateDataRow.BuilderclearDoubleValues()

public DataProto.AggregateDataRow.BuilderclearEndLocalDateTime()

optional string end_local_date_time = 4;

public DataProto.AggregateDataRow.BuilderclearEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

public DataProto.AggregateDataRow.BuilderclearLongValues()

public DataProto.AggregateDataRow.BuilderclearStartLocalDateTime()

optional string start_local_date_time = 3;

public DataProto.AggregateDataRow.BuilderclearStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

public DataProto.AggregateDataRow.BuilderclearZoneOffsetSeconds()

optional int32 zone_offset_seconds = 5;

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.AggregateDataRow.Builder.getDoubleValuesMap() instead.

public intgetDoubleValuesCount()

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.AggregateDataRow.Builder.getLongValuesMap() instead.

public intgetLongValuesCount()

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;

public DataProto.AggregateDataRow.BuilderputAllDoubleValues(java.util.Map<java.lang.String, java.lang.Double> values)

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

public DataProto.AggregateDataRow.BuilderputAllLongValues(java.util.Map<java.lang.String, java.lang.Long> values)

map<string, int64> long_values = 7;

public DataProto.AggregateDataRow.BuilderputDoubleValues(java.lang.String key, double value)

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

public DataProto.AggregateDataRow.BuilderputLongValues(java.lang.String key, long value)

map<string, int64> long_values = 7;

public DataProto.AggregateDataRow.BuilderremoveDataOrigins(int index)

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

public DataProto.AggregateDataRow.BuilderremoveDoubleValues(java.lang.String key)

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

public DataProto.AggregateDataRow.BuilderremoveLongValues(java.lang.String key)

map<string, int64> long_values = 7;

public DataProto.AggregateDataRow.BuildersetDataOrigins(int index, DataProto.DataOrigin.Builder builderForValue)

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

public DataProto.AggregateDataRow.BuildersetDataOrigins(int index, DataProto.DataOrigin value)

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

public DataProto.AggregateDataRow.BuildersetEndLocalDateTime(java.lang.String value)

optional string end_local_date_time = 4;

public DataProto.AggregateDataRow.BuildersetEndLocalDateTimeBytes(com.google.protobuf.ByteString value)

optional string end_local_date_time = 4;

public DataProto.AggregateDataRow.BuildersetEndTimeEpochMs(long value)

optional int64 end_time_epoch_ms = 2;

public DataProto.AggregateDataRow.BuildersetStartLocalDateTime(java.lang.String value)

optional string start_local_date_time = 3;

public DataProto.AggregateDataRow.BuildersetStartLocalDateTimeBytes(com.google.protobuf.ByteString value)

optional string start_local_date_time = 3;

public DataProto.AggregateDataRow.BuildersetStartTimeEpochMs(long value)

optional int64 start_time_epoch_ms = 1;

public DataProto.AggregateDataRow.BuildersetZoneOffsetSeconds(int value)

optional int32 zone_offset_seconds = 5;

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

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 DataProto.AggregateDataRow.Builder setStartTimeEpochMs(long value)

optional int64 start_time_epoch_ms = 1;

Parameters:

value: The startTimeEpochMs to set.

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder clearStartTimeEpochMs()

optional int64 start_time_epoch_ms = 1;

Returns:

This builder for chaining.

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 DataProto.AggregateDataRow.Builder setEndTimeEpochMs(long value)

optional int64 end_time_epoch_ms = 2;

Parameters:

value: The endTimeEpochMs to set.

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder clearEndTimeEpochMs()

optional int64 end_time_epoch_ms = 2;

Returns:

This builder for chaining.

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

optional string start_local_date_time = 3;

Parameters:

value: The startLocalDateTime to set.

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder clearStartLocalDateTime()

optional string start_local_date_time = 3;

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder setStartLocalDateTimeBytes(com.google.protobuf.ByteString value)

optional string start_local_date_time = 3;

Parameters:

value: The bytes for startLocalDateTime to set.

Returns:

This builder for chaining.

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

optional string end_local_date_time = 4;

Parameters:

value: The endLocalDateTime to set.

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder clearEndLocalDateTime()

optional string end_local_date_time = 4;

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder setEndLocalDateTimeBytes(com.google.protobuf.ByteString value)

optional string end_local_date_time = 4;

Parameters:

value: The bytes for endLocalDateTime to set.

Returns:

This builder for chaining.

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

optional int32 zone_offset_seconds = 5;

Parameters:

value: The zoneOffsetSeconds to set.

Returns:

This builder for chaining.

public DataProto.AggregateDataRow.Builder clearZoneOffsetSeconds()

optional int32 zone_offset_seconds = 5;

Returns:

This builder for chaining.

public int getDoubleValuesCount()

public boolean containsDoubleValues(java.lang.String key)

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

public DataProto.AggregateDataRow.Builder clearDoubleValues()

public DataProto.AggregateDataRow.Builder removeDoubleValues(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.AggregateDataRow.Builder.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 DataProto.AggregateDataRow.Builder putDoubleValues(java.lang.String key, double value)

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

public DataProto.AggregateDataRow.Builder putAllDoubleValues(java.util.Map<java.lang.String, java.lang.Double> values)

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

public int getLongValuesCount()

public boolean containsLongValues(java.lang.String key)

map<string, int64> long_values = 7;

public DataProto.AggregateDataRow.Builder clearLongValues()

public DataProto.AggregateDataRow.Builder removeLongValues(java.lang.String key)

map<string, int64> long_values = 7;

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

Use DataProto.AggregateDataRow.Builder.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 DataProto.AggregateDataRow.Builder putLongValues(java.lang.String key, long value)

map<string, int64> long_values = 7;

public DataProto.AggregateDataRow.Builder putAllLongValues(java.util.Map<java.lang.String, java.lang.Long> values)

map<string, int64> long_values = 7;

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

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

public int getDataOriginsCount()

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 DataProto.AggregateDataRow.Builder setDataOrigins(int index, DataProto.DataOrigin value)

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

public DataProto.AggregateDataRow.Builder setDataOrigins(int index, DataProto.DataOrigin.Builder builderForValue)

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

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

public DataProto.AggregateDataRow.Builder addDataOrigins(int index, DataProto.DataOrigin value)

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

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

public DataProto.AggregateDataRow.Builder addDataOrigins(int index, DataProto.DataOrigin.Builder builderForValue)

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

public DataProto.AggregateDataRow.Builder addAllDataOrigins(java.lang.Iterable<DataProto.DataOrigin> values)

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

public DataProto.AggregateDataRow.Builder clearDataOrigins()

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

public DataProto.AggregateDataRow.Builder removeDataOrigins(int index)

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