fitness  v1
Public Member Functions | Static Public Member Functions | List of all members
google_fitness_api::AggregateRequest Class Reference

#include <aggregate_request.h>

Inheritance diagram for google_fitness_api::AggregateRequest:

Public Member Functions

 AggregateRequest (const Json::Value &storage)
 
 AggregateRequest (Json::Value *storage)
 
virtual ~AggregateRequest ()
 
const StringPiece GetTypeName () const
 
bool has_aggregate_by () const
 
void clear_aggregate_by ()
 
const client::JsonCppArray< AggregateByget_aggregate_by () const
 
client::JsonCppArray< AggregateBymutable_aggregateBy ()
 
bool has_bucket_by_activity_segment () const
 
void clear_bucket_by_activity_segment ()
 
const BucketByActivity get_bucket_by_activity_segment () const
 
BucketByActivity mutable_bucketByActivitySegment ()
 
bool has_bucket_by_activity_type () const
 
void clear_bucket_by_activity_type ()
 
const BucketByActivity get_bucket_by_activity_type () const
 
BucketByActivity mutable_bucketByActivityType ()
 
bool has_bucket_by_session () const
 
void clear_bucket_by_session ()
 
const BucketBySession get_bucket_by_session () const
 
BucketBySession mutable_bucketBySession ()
 
bool has_bucket_by_time () const
 
void clear_bucket_by_time ()
 
const BucketByTime get_bucket_by_time () const
 
BucketByTime mutable_bucketByTime ()
 
bool has_end_time_millis () const
 
void clear_end_time_millis ()
 
int64 get_end_time_millis () const
 
void set_end_time_millis (int64 value)
 
bool has_filtered_data_quality_standard () const
 
void clear_filtered_data_quality_standard ()
 
const client::JsonCppArray< string > get_filtered_data_quality_standard () const
 
client::JsonCppArray< string > mutable_filteredDataQualityStandard ()
 
bool has_start_time_millis () const
 
void clear_start_time_millis ()
 
int64 get_start_time_millis () const
 
void set_start_time_millis (int64 value)
 

Static Public Member Functions

static AggregateRequestNew ()
 

Detailed Description

Next id: 10.

Constructor & Destructor Documentation

◆ AggregateRequest() [1/2]

google_fitness_api::AggregateRequest::AggregateRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ AggregateRequest() [2/2]

google_fitness_api::AggregateRequest::AggregateRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~AggregateRequest()

google_fitness_api::AggregateRequest::~AggregateRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_aggregate_by()

void google_fitness_api::AggregateRequest::clear_aggregate_by ( )
inline

Clears the 'aggregateBy' attribute.

◆ clear_bucket_by_activity_segment()

void google_fitness_api::AggregateRequest::clear_bucket_by_activity_segment ( )
inline

Clears the 'bucketByActivitySegment' attribute.

◆ clear_bucket_by_activity_type()

void google_fitness_api::AggregateRequest::clear_bucket_by_activity_type ( )
inline

Clears the 'bucketByActivityType' attribute.

◆ clear_bucket_by_session()

void google_fitness_api::AggregateRequest::clear_bucket_by_session ( )
inline

Clears the 'bucketBySession' attribute.

◆ clear_bucket_by_time()

void google_fitness_api::AggregateRequest::clear_bucket_by_time ( )
inline

Clears the 'bucketByTime' attribute.

◆ clear_end_time_millis()

void google_fitness_api::AggregateRequest::clear_end_time_millis ( )
inline

Clears the 'endTimeMillis' attribute.

◆ clear_filtered_data_quality_standard()

void google_fitness_api::AggregateRequest::clear_filtered_data_quality_standard ( )
inline

Clears the 'filteredDataQualityStandard' attribute.

◆ clear_start_time_millis()

void google_fitness_api::AggregateRequest::clear_start_time_millis ( )
inline

Clears the 'startTimeMillis' attribute.

◆ get_aggregate_by()

const client::JsonCppArray<AggregateBy > google_fitness_api::AggregateRequest::get_aggregate_by ( ) const

Get a reference to the value of the 'aggregateBy' attribute.

◆ get_bucket_by_activity_segment()

const BucketByActivity google_fitness_api::AggregateRequest::get_bucket_by_activity_segment ( ) const

Get a reference to the value of the 'bucketByActivitySegment' attribute.

◆ get_bucket_by_activity_type()

const BucketByActivity google_fitness_api::AggregateRequest::get_bucket_by_activity_type ( ) const

Get a reference to the value of the 'bucketByActivityType' attribute.

◆ get_bucket_by_session()

const BucketBySession google_fitness_api::AggregateRequest::get_bucket_by_session ( ) const

Get a reference to the value of the 'bucketBySession' attribute.

◆ get_bucket_by_time()

const BucketByTime google_fitness_api::AggregateRequest::get_bucket_by_time ( ) const

Get a reference to the value of the 'bucketByTime' attribute.

◆ get_end_time_millis()

int64 google_fitness_api::AggregateRequest::get_end_time_millis ( ) const
inline

Get the value of the 'endTimeMillis' attribute.

◆ get_filtered_data_quality_standard()

const client::JsonCppArray<string > google_fitness_api::AggregateRequest::get_filtered_data_quality_standard ( ) const
inline

Get a reference to the value of the 'filteredDataQualityStandard' attribute.

◆ get_start_time_millis()

int64 google_fitness_api::AggregateRequest::get_start_time_millis ( ) const
inline

Get the value of the 'startTimeMillis' attribute.

◆ GetTypeName()

const StringPiece google_fitness_api::AggregateRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_fitness_api::AggregateRequest

◆ has_aggregate_by()

bool google_fitness_api::AggregateRequest::has_aggregate_by ( ) const
inline

Determine if the 'aggregateBy' attribute was set.

Returns
true if the 'aggregateBy' attribute was set.

◆ has_bucket_by_activity_segment()

bool google_fitness_api::AggregateRequest::has_bucket_by_activity_segment ( ) const
inline

Determine if the 'bucketByActivitySegment' attribute was set.

Returns
true if the 'bucketByActivitySegment' attribute was set.

◆ has_bucket_by_activity_type()

bool google_fitness_api::AggregateRequest::has_bucket_by_activity_type ( ) const
inline

Determine if the 'bucketByActivityType' attribute was set.

Returns
true if the 'bucketByActivityType' attribute was set.

◆ has_bucket_by_session()

bool google_fitness_api::AggregateRequest::has_bucket_by_session ( ) const
inline

Determine if the 'bucketBySession' attribute was set.

Returns
true if the 'bucketBySession' attribute was set.

◆ has_bucket_by_time()

bool google_fitness_api::AggregateRequest::has_bucket_by_time ( ) const
inline

Determine if the 'bucketByTime' attribute was set.

Returns
true if the 'bucketByTime' attribute was set.

◆ has_end_time_millis()

bool google_fitness_api::AggregateRequest::has_end_time_millis ( ) const
inline

Determine if the 'endTimeMillis' attribute was set.

Returns
true if the 'endTimeMillis' attribute was set.

◆ has_filtered_data_quality_standard()

bool google_fitness_api::AggregateRequest::has_filtered_data_quality_standard ( ) const
inline

Determine if the 'filteredDataQualityStandard' attribute was set.

Returns
true if the 'filteredDataQualityStandard' attribute was set.

◆ has_start_time_millis()

bool google_fitness_api::AggregateRequest::has_start_time_millis ( ) const
inline

Determine if the 'startTimeMillis' attribute was set.

Returns
true if the 'startTimeMillis' attribute was set.

◆ mutable_aggregateBy()

client::JsonCppArray<AggregateBy > google_fitness_api::AggregateRequest::mutable_aggregateBy ( )

Gets a reference to a mutable value of the 'aggregateBy' property.

The specification of data to be aggregated. At least one aggregateBy spec must be provided. All data that is specified will be aggregated using the same bucketing criteria. There will be one dataset in the response for every aggregateBy spec.

Returns
The result can be modified to change the attribute value.

◆ mutable_bucketByActivitySegment()

BucketByActivity google_fitness_api::AggregateRequest::mutable_bucketByActivitySegment ( )

Gets a reference to a mutable value of the 'bucketByActivitySegment' property.

Specifies that data be aggregated each activity segment recored for a user. Similar to bucketByActivitySegment, but bucketing is done for each activity segment rather than all segments of the same type. Mutually exclusive of other bucketing specifications.

Returns
The result can be modified to change the attribute value.

◆ mutable_bucketByActivityType()

BucketByActivity google_fitness_api::AggregateRequest::mutable_bucketByActivityType ( )

Gets a reference to a mutable value of the 'bucketByActivityType' property.

Specifies that data be aggregated by the type of activity being performed when the data was recorded. All data that was recorded during a certain activity type (for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be included in the response. Mutually exclusive of other bucketing specifications.

Returns
The result can be modified to change the attribute value.

◆ mutable_bucketBySession()

BucketBySession google_fitness_api::AggregateRequest::mutable_bucketBySession ( )

Gets a reference to a mutable value of the 'bucketBySession' property.

Specifies that data be aggregated by user sessions. Data that does not fall within the time range of a session will not be included in the response. Mutually exclusive of other bucketing specifications.

Returns
The result can be modified to change the attribute value.

◆ mutable_bucketByTime()

BucketByTime google_fitness_api::AggregateRequest::mutable_bucketByTime ( )

Gets a reference to a mutable value of the 'bucketByTime' property.

Specifies that data be aggregated by a single time interval. Mutually exclusive of other bucketing specifications.

Returns
The result can be modified to change the attribute value.

◆ mutable_filteredDataQualityStandard()

client::JsonCppArray<string > google_fitness_api::AggregateRequest::mutable_filteredDataQualityStandard ( )
inline

Gets a reference to a mutable value of the 'filteredDataQualityStandard' property.

DO NOT POPULATE THIS FIELD. It is ignored.

Returns
The result can be modified to change the attribute value.

◆ New()

AggregateRequest * google_fitness_api::AggregateRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_end_time_millis()

void google_fitness_api::AggregateRequest::set_end_time_millis ( int64  value)
inline

Change the 'endTimeMillis' attribute.

The end of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.

Parameters
[in]valueThe new value.

◆ set_start_time_millis()

void google_fitness_api::AggregateRequest::set_start_time_millis ( int64  value)
inline

Change the 'startTimeMillis' attribute.

The start of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: