public interface

RequestProto.AggregateDataRequestOrBuilder

 androidx.health.platform.client.proto.RequestProto.AggregateDataRequestOrBuilder

Subclasses:

RequestProto.AggregateDataRequest, RequestProto.AggregateDataRequest.Builder

Summary

Methods
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;

Methods

public boolean hasTimeSpec()

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

Returns:

Whether the timeSpec field is set.

public TimeProto.TimeSpec getTimeSpec()

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

Returns:

The timeSpec.

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

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;

public int getMetricSpecCount()

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 DataProto.DataOrigin getDataOrigin(int index)

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

public int getDataOriginCount()

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 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.