Summary: Ctors | Methods | Inherited Methods | [Expand All]
public static class

# DataUpdateRequest.Builder

extends Object

java.lang.Object
↳ | com.google.android.gms.fitness.request.DataUpdateRequest.Builder

## Class Overview

Builder used to create new DataUpdateRequests.

## Summary

Public Constructors
| DataUpdateRequest.Builder()

Public Methods
DataUpdateRequest | build() Finishes building and returns the request.
DataUpdateRequest.Builder | setDataSet(DataSet dataSet) Sets the dataSet for the data update query
DataUpdateRequest.Builder | setTimeInterval(long startTimeMillis, long endTimeMillis, TimeUnit timeUnit) Sets the time interval for the data update query.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public DataUpdateRequest.Builder ()

## Public Methods

#### public DataUpdateRequest build ()

Finishes building and returns the request.

#### public DataUpdateRequest.Builder setDataSet (DataSet dataSet)

Sets the dataSet for the data update query

##### Throws

IllegalArgumentException | if the data set is null.

#### public DataUpdateRequest.Builder setTimeInterval (long startTimeMillis, long endTimeMillis, TimeUnit timeUnit)

Sets the time interval for the data update query.

##### Throws

IllegalArgumentException | if the input time interval is invalid.