public static final class ReconcileDataPointsRequest.Builder extends GeneratedMessage.Builder<ReconcileDataPointsRequest.Builder> implements ReconcileDataPointsRequestOrBuilderRequest to reconcile data points from multiple data sources.
Protobuf type google.devicesandservices.health.v4.ReconcileDataPointsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReconcileDataPointsRequest.BuilderImplements
ReconcileDataPointsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReconcileDataPointsRequest build()| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest |
|
buildPartial()
public ReconcileDataPointsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest |
|
clear()
public ReconcileDataPointsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
|
clearDataSourceFamily()
public ReconcileDataPointsRequest.Builder clearDataSourceFamily()Optional. The data source family name to reconcile.
If empty, data points from all data sources will be reconciled.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
clearFilter()
public ReconcileDataPointsRequest.Builder clearFilter()Optional. Filter expression based on https://aip.dev/160.
A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ReconcileDataPointsRequest.Builder clearPageSize() Optional. The maximum number of data points to return.
If unspecified, at most 1440 data points will be returned.
The maximum page size is 10000; values above that will be truncated
accordingly.
For exercise and sleep the default page size is 25.
The maximum page size for exercise and sleep is 25.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ReconcileDataPointsRequest.Builder clearPageToken() Optional. The next_page_token from a previous request, if any.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
clearParent()
public ReconcileDataPointsRequest.Builder clearParent()Required. Parent data type of the Data Point collection.
Format: users/me/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/heart-rateFor a list of the supported data types see the DataPoint data union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
getDataSourceFamily()
public String getDataSourceFamily()Optional. The data source family name to reconcile.
If empty, data points from all data sources will be reconciled.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dataSourceFamily. |
getDataSourceFamilyBytes()
public ByteString getDataSourceFamilyBytes()Optional. The data source family name to reconcile.
If empty, data points from all data sources will be reconciled.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataSourceFamily. |
getDefaultInstanceForType()
public ReconcileDataPointsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()Optional. Filter expression based on https://aip.dev/160.
A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Optional. Filter expression based on https://aip.dev/160.
A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize() Optional. The maximum number of data points to return.
If unspecified, at most 1440 data points will be returned.
The maximum page size is 10000; values above that will be truncated
accordingly.
For exercise and sleep the default page size is 25.
The maximum page size for exercise and sleep is 25.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. The next_page_token from a previous request, if any.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. The next_page_token from a previous request, if any.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. Parent data type of the Data Point collection.
Format: users/me/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/heart-rateFor a list of the supported data types see the DataPoint data union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Parent data type of the Data Point collection.
Format: users/me/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/heart-rateFor a list of the supported data types see the DataPoint data union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReconcileDataPointsRequest other)
public ReconcileDataPointsRequest.Builder mergeFrom(ReconcileDataPointsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ReconcileDataPointsRequest |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReconcileDataPointsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReconcileDataPointsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
|
setDataSourceFamily(String value)
public ReconcileDataPointsRequest.Builder setDataSourceFamily(String value)Optional. The data source family name to reconcile.
If empty, data points from all data sources will be reconciled.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataSourceFamily to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setDataSourceFamilyBytes(ByteString value)
public ReconcileDataPointsRequest.Builder setDataSourceFamilyBytes(ByteString value)Optional. The data source family name to reconcile.
If empty, data points from all data sources will be reconciled.
Format: users/me/dataSourceFamilies/{data_source_family}
The supported values are:
users/me/dataSourceFamilies/all-sources- default valueusers/me/dataSourceFamilies/google-wearables- tracker devicesusers/me/dataSourceFamilies/google-sources- Google first party sources
string data_source_family = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataSourceFamily to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setFilter(String value)
public ReconcileDataPointsRequest.Builder setFilter(String value)Optional. Filter expression based on https://aip.dev/160.
A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ReconcileDataPointsRequest.Builder setFilterBytes(ByteString value)Optional. Filter expression based on https://aip.dev/160.
A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ReconcileDataPointsRequest.Builder setPageSize(int value) Optional. The maximum number of data points to return.
If unspecified, at most 1440 data points will be returned.
The maximum page size is 10000; values above that will be truncated
accordingly.
For exercise and sleep the default page size is 25.
The maximum page size for exercise and sleep is 25.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ReconcileDataPointsRequest.Builder setPageToken(String value) Optional. The next_page_token from a previous request, if any.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ReconcileDataPointsRequest.Builder setPageTokenBytes(ByteString value) Optional. The next_page_token from a previous request, if any.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ReconcileDataPointsRequest.Builder setParent(String value)Required. Parent data type of the Data Point collection.
Format: users/me/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/heart-rateFor a list of the supported data types see the DataPoint data union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ReconcileDataPointsRequest.Builder setParentBytes(ByteString value)Required. Parent data type of the Data Point collection.
Format: users/me/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/me/dataTypes/heart-rateFor a list of the supported data types see the DataPoint data union field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ReconcileDataPointsRequest.Builder |
This builder for chaining. |