public final class

RequestProto.AggregateDataRequest.Builder

extends <any>

implements RequestProto.AggregateDataRequestOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.RequestProto.AggregateDataRequest.Builder

Overview

 Flattened aggregation
 
Protobuf type androidx.health.platform.client.proto.AggregateDataRequest

Summary

Methods
public RequestProto.AggregateDataRequest.BuilderaddAllDataOrigin(java.lang.Iterable<DataProto.DataOrigin> values)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderaddAllMetricSpec(java.lang.Iterable<RequestProto.AggregateMetricSpec> values)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuilderaddDataOrigin(DataProto.DataOrigin.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderaddDataOrigin(DataProto.DataOrigin value)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderaddDataOrigin(int index, DataProto.DataOrigin.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderaddDataOrigin(int index, DataProto.DataOrigin value)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderaddMetricSpec(int index, RequestProto.AggregateMetricSpec.Builder builderForValue)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuilderaddMetricSpec(int index, RequestProto.AggregateMetricSpec value)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuilderaddMetricSpec(RequestProto.AggregateMetricSpec.Builder builderForValue)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuilderaddMetricSpec(RequestProto.AggregateMetricSpec value)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuilderclearDataOrigin()

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderclearMetricSpec()

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuilderclearSliceDurationMillis()

optional int64 slice_duration_millis = 4;

public RequestProto.AggregateDataRequest.BuilderclearSlicePeriod()

optional string slice_period = 5;

public RequestProto.AggregateDataRequest.BuilderclearTimeSpec()

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public DataProto.DataOrigingetDataOrigin(int index)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public intgetDataOriginCount()

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

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

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateMetricSpecgetMetricSpec(int index)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public intgetMetricSpecCount()

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public java.util.List<RequestProto.AggregateMetricSpec>getMetricSpecList()

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public longgetSliceDurationMillis()

optional int64 slice_duration_millis = 4;

public java.lang.StringgetSlicePeriod()

optional string slice_period = 5;

public com.google.protobuf.ByteStringgetSlicePeriodBytes()

optional string slice_period = 5;

public TimeProto.TimeSpecgetTimeSpec()

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public booleanhasSliceDurationMillis()

optional int64 slice_duration_millis = 4;

public booleanhasSlicePeriod()

optional string slice_period = 5;

public booleanhasTimeSpec()

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public RequestProto.AggregateDataRequest.BuildermergeTimeSpec(TimeProto.TimeSpec value)

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public RequestProto.AggregateDataRequest.BuilderremoveDataOrigin(int index)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuilderremoveMetricSpec(int index)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuildersetDataOrigin(int index, DataProto.DataOrigin.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuildersetDataOrigin(int index, DataProto.DataOrigin value)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.BuildersetMetricSpec(int index, RequestProto.AggregateMetricSpec.Builder builderForValue)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuildersetMetricSpec(int index, RequestProto.AggregateMetricSpec value)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.BuildersetSliceDurationMillis(long value)

optional int64 slice_duration_millis = 4;

public RequestProto.AggregateDataRequest.BuildersetSlicePeriod(java.lang.String value)

optional string slice_period = 5;

public RequestProto.AggregateDataRequest.BuildersetSlicePeriodBytes(com.google.protobuf.ByteString value)

optional string slice_period = 5;

public RequestProto.AggregateDataRequest.BuildersetTimeSpec(TimeProto.TimeSpec.Builder builderForValue)

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public RequestProto.AggregateDataRequest.BuildersetTimeSpec(TimeProto.TimeSpec value)

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

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

Methods

public boolean hasTimeSpec()

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public TimeProto.TimeSpec getTimeSpec()

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

optional .androidx.health.platform.client.proto.TimeSpec time_spec = 1;

public java.util.List<RequestProto.AggregateMetricSpec> getMetricSpecList()

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public int getMetricSpecCount()

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateMetricSpec getMetricSpec(int index)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.Builder addAllMetricSpec(java.lang.Iterable<RequestProto.AggregateMetricSpec> values)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

public RequestProto.AggregateDataRequest.Builder removeMetricSpec(int index)

repeated .androidx.health.platform.client.proto.AggregateMetricSpec metric_spec = 2;

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

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public int getDataOriginCount()

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public DataProto.DataOrigin getDataOrigin(int index)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.Builder setDataOrigin(int index, DataProto.DataOrigin.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.Builder addDataOrigin(int index, DataProto.DataOrigin.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.Builder addAllDataOrigin(java.lang.Iterable<DataProto.DataOrigin> values)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public RequestProto.AggregateDataRequest.Builder removeDataOrigin(int index)

repeated .androidx.health.platform.client.proto.DataOrigin data_origin = 3;

public boolean hasSliceDurationMillis()

optional int64 slice_duration_millis = 4;

Returns:

Whether the sliceDurationMillis field is set.

public long getSliceDurationMillis()

optional int64 slice_duration_millis = 4;

Returns:

The sliceDurationMillis.

public RequestProto.AggregateDataRequest.Builder setSliceDurationMillis(long value)

optional int64 slice_duration_millis = 4;

Parameters:

value: The sliceDurationMillis to set.

Returns:

This builder for chaining.

public RequestProto.AggregateDataRequest.Builder clearSliceDurationMillis()

optional int64 slice_duration_millis = 4;

Returns:

This builder for chaining.

public boolean hasSlicePeriod()

optional string slice_period = 5;

Returns:

Whether the slicePeriod field is set.

public java.lang.String getSlicePeriod()

optional string slice_period = 5;

Returns:

The slicePeriod.

public com.google.protobuf.ByteString getSlicePeriodBytes()

optional string slice_period = 5;

Returns:

The bytes for slicePeriod.

public RequestProto.AggregateDataRequest.Builder setSlicePeriod(java.lang.String value)

optional string slice_period = 5;

Parameters:

value: The slicePeriod to set.

Returns:

This builder for chaining.

optional string slice_period = 5;

Returns:

This builder for chaining.

public RequestProto.AggregateDataRequest.Builder setSlicePeriodBytes(com.google.protobuf.ByteString value)

optional string slice_period = 5;

Parameters:

value: The bytes for slicePeriod to set.

Returns:

This builder for chaining.