Class ListDataPointsResponse.Builder (0.2.0)

public static final class ListDataPointsResponse.Builder extends GeneratedMessage.Builder<ListDataPointsResponse.Builder> implements ListDataPointsResponseOrBuilder

Response containing raw data points matching the query

Protobuf type google.devicesandservices.health.v4.ListDataPointsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDataPoints(Iterable<? extends DataPoint> values)

public ListDataPointsResponse.Builder addAllDataPoints(Iterable<? extends DataPoint> values)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
values Iterable<? extends com.google.devicesandservices.health.v4.DataPoint>
Returns
Type Description
ListDataPointsResponse.Builder

addDataPoints(DataPoint value)

public ListDataPointsResponse.Builder addDataPoints(DataPoint value)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
value DataPoint
Returns
Type Description
ListDataPointsResponse.Builder

addDataPoints(DataPoint.Builder builderForValue)

public ListDataPointsResponse.Builder addDataPoints(DataPoint.Builder builderForValue)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
builderForValue DataPoint.Builder
Returns
Type Description
ListDataPointsResponse.Builder

addDataPoints(int index, DataPoint value)

public ListDataPointsResponse.Builder addDataPoints(int index, DataPoint value)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameters
Name Description
index int
value DataPoint
Returns
Type Description
ListDataPointsResponse.Builder

addDataPoints(int index, DataPoint.Builder builderForValue)

public ListDataPointsResponse.Builder addDataPoints(int index, DataPoint.Builder builderForValue)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameters
Name Description
index int
builderForValue DataPoint.Builder
Returns
Type Description
ListDataPointsResponse.Builder

addDataPointsBuilder()

public DataPoint.Builder addDataPointsBuilder()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
DataPoint.Builder

addDataPointsBuilder(int index)

public DataPoint.Builder addDataPointsBuilder(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPoint.Builder

build()

public ListDataPointsResponse build()
Returns
Type Description
ListDataPointsResponse

buildPartial()

public ListDataPointsResponse buildPartial()
Returns
Type Description
ListDataPointsResponse

clear()

public ListDataPointsResponse.Builder clear()
Returns
Type Description
ListDataPointsResponse.Builder
Overrides

clearDataPoints()

public ListDataPointsResponse.Builder clearDataPoints()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
ListDataPointsResponse.Builder

clearNextPageToken()

public ListDataPointsResponse.Builder clearNextPageToken()

Next page token, empty if the response is complete

string next_page_token = 2;

Returns
Type Description
ListDataPointsResponse.Builder

This builder for chaining.

getDataPoints(int index)

public DataPoint getDataPoints(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPoint

getDataPointsBuilder(int index)

public DataPoint.Builder getDataPointsBuilder(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPoint.Builder

getDataPointsBuilderList()

public List<DataPoint.Builder> getDataPointsBuilderList()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
List<Builder>

getDataPointsCount()

public int getDataPointsCount()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
int

getDataPointsList()

public List<DataPoint> getDataPointsList()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
List<DataPoint>

getDataPointsOrBuilder(int index)

public DataPointOrBuilder getDataPointsOrBuilder(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPointOrBuilder

getDataPointsOrBuilderList()

public List<? extends DataPointOrBuilder> getDataPointsOrBuilderList()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
List<? extends com.google.devicesandservices.health.v4.DataPointOrBuilder>

getDefaultInstanceForType()

public ListDataPointsResponse getDefaultInstanceForType()
Returns
Type Description
ListDataPointsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Next page token, empty if the response is complete

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token, empty if the response is complete

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataPointsResponse other)

public ListDataPointsResponse.Builder mergeFrom(ListDataPointsResponse other)
Parameter
Name Description
other ListDataPointsResponse
Returns
Type Description
ListDataPointsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDataPointsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDataPointsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDataPointsResponse.Builder
Overrides

removeDataPoints(int index)

public ListDataPointsResponse.Builder removeDataPoints(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataPointsResponse.Builder

setDataPoints(int index, DataPoint value)

public ListDataPointsResponse.Builder setDataPoints(int index, DataPoint value)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameters
Name Description
index int
value DataPoint
Returns
Type Description
ListDataPointsResponse.Builder

setDataPoints(int index, DataPoint.Builder builderForValue)

public ListDataPointsResponse.Builder setDataPoints(int index, DataPoint.Builder builderForValue)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameters
Name Description
index int
builderForValue DataPoint.Builder
Returns
Type Description
ListDataPointsResponse.Builder

setNextPageToken(String value)

public ListDataPointsResponse.Builder setNextPageToken(String value)

Next page token, empty if the response is complete

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDataPointsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataPointsResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token, empty if the response is complete

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataPointsResponse.Builder

This builder for chaining.