#include <aggregate_bucket.h>
◆ AggregateBucket() [1/2]
| google_fitness_api::AggregateBucket::AggregateBucket |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ AggregateBucket() [2/2]
| google_fitness_api::AggregateBucket::AggregateBucket |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~AggregateBucket()
| google_fitness_api::AggregateBucket::~AggregateBucket |
( |
| ) |
|
|
virtual |
◆ clear_activity()
| void google_fitness_api::AggregateBucket::clear_activity |
( |
| ) |
|
|
inline |
Clears the 'activity' attribute.
◆ clear_dataset()
| void google_fitness_api::AggregateBucket::clear_dataset |
( |
| ) |
|
|
inline |
Clears the 'dataset' attribute.
◆ clear_end_time_millis()
| void google_fitness_api::AggregateBucket::clear_end_time_millis |
( |
| ) |
|
|
inline |
Clears the 'endTimeMillis' attribute.
◆ clear_session()
| void google_fitness_api::AggregateBucket::clear_session |
( |
| ) |
|
|
inline |
Clears the 'session' attribute.
◆ clear_start_time_millis()
| void google_fitness_api::AggregateBucket::clear_start_time_millis |
( |
| ) |
|
|
inline |
Clears the 'startTimeMillis' attribute.
◆ clear_type()
| void google_fitness_api::AggregateBucket::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type' attribute.
◆ get_activity()
| int32 google_fitness_api::AggregateBucket::get_activity |
( |
| ) |
const |
|
inline |
Get the value of the 'activity' attribute.
◆ get_dataset()
| const client::JsonCppArray<Dataset > google_fitness_api::AggregateBucket::get_dataset |
( |
| ) |
const |
Get a reference to the value of the 'dataset' attribute.
◆ get_end_time_millis()
| int64 google_fitness_api::AggregateBucket::get_end_time_millis |
( |
| ) |
const |
|
inline |
Get the value of the 'endTimeMillis' attribute.
◆ get_session()
| const Session google_fitness_api::AggregateBucket::get_session |
( |
| ) |
const |
Get a reference to the value of the 'session' attribute.
◆ get_start_time_millis()
| int64 google_fitness_api::AggregateBucket::get_start_time_millis |
( |
| ) |
const |
|
inline |
Get the value of the 'startTimeMillis' attribute.
◆ get_type()
| const StringPiece google_fitness_api::AggregateBucket::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type' attribute.
◆ GetTypeName()
| const StringPiece google_fitness_api::AggregateBucket::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_activity()
| bool google_fitness_api::AggregateBucket::has_activity |
( |
| ) |
const |
|
inline |
Determine if the 'activity' attribute was set.
- Returns
- true if the '
activity' attribute was set.
◆ has_dataset()
| bool google_fitness_api::AggregateBucket::has_dataset |
( |
| ) |
const |
|
inline |
Determine if the 'dataset' attribute was set.
- Returns
- true if the '
dataset' attribute was set.
◆ has_end_time_millis()
| bool google_fitness_api::AggregateBucket::has_end_time_millis |
( |
| ) |
const |
|
inline |
Determine if the 'endTimeMillis' attribute was set.
- Returns
- true if the '
endTimeMillis' attribute was set.
◆ has_session()
| bool google_fitness_api::AggregateBucket::has_session |
( |
| ) |
const |
|
inline |
Determine if the 'session' attribute was set.
- Returns
- true if the '
session' attribute was set.
◆ has_start_time_millis()
| bool google_fitness_api::AggregateBucket::has_start_time_millis |
( |
| ) |
const |
|
inline |
Determine if the 'startTimeMillis' attribute was set.
- Returns
- true if the '
startTimeMillis' attribute was set.
◆ has_type()
| bool google_fitness_api::AggregateBucket::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type' attribute was set.
- Returns
- true if the '
type' attribute was set.
◆ mutable_dataset()
| client::JsonCppArray<Dataset > google_fitness_api::AggregateBucket::mutable_dataset |
( |
| ) |
|
Gets a reference to a mutable value of the 'dataset' property.
There will be one dataset per AggregateBy in the request.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_session()
| Session google_fitness_api::AggregateBucket::mutable_session |
( |
| ) |
|
Gets a reference to a mutable value of the 'session' property.
Available for Bucket.Type.SESSION.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_activity()
| void google_fitness_api::AggregateBucket::set_activity |
( |
int32 |
value | ) |
|
|
inline |
Change the 'activity' attribute.
Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT.
- Parameters
-
◆ set_end_time_millis()
| void google_fitness_api::AggregateBucket::set_end_time_millis |
( |
int64 |
value | ) |
|
|
inline |
Change the 'endTimeMillis' attribute.
The end time for the aggregated data, in milliseconds since epoch, inclusive.
- Parameters
-
◆ set_start_time_millis()
| void google_fitness_api::AggregateBucket::set_start_time_millis |
( |
int64 |
value | ) |
|
|
inline |
Change the 'startTimeMillis' attribute.
The start time for the aggregated data, in milliseconds since epoch, inclusive.
- Parameters
-
◆ set_type()
| void google_fitness_api::AggregateBucket::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type' attribute.
The type of a bucket signifies how the data aggregation is performed in the bucket.
- Parameters
-
The documentation for this class was generated from the following files: