Class RollUpDataPointsResponse.Builder (0.2.0)

public static final class RollUpDataPointsResponse.Builder extends GeneratedMessage.Builder<RollUpDataPointsResponse.Builder> implements RollUpDataPointsResponseOrBuilder

Response containing the list of rolled up data points.

Protobuf type google.devicesandservices.health.v4.RollUpDataPointsResponse

Static Methods

getDescriptor()

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

Methods

addAllRollupDataPoints(Iterable<? extends RollupDataPoint> values)

public RollUpDataPointsResponse.Builder addAllRollupDataPoints(Iterable<? extends RollupDataPoint> values)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

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

addRollupDataPoints(RollupDataPoint value)

public RollUpDataPointsResponse.Builder addRollupDataPoints(RollupDataPoint value)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
value RollupDataPoint
Returns
Type Description
RollUpDataPointsResponse.Builder

addRollupDataPoints(RollupDataPoint.Builder builderForValue)

public RollUpDataPointsResponse.Builder addRollupDataPoints(RollupDataPoint.Builder builderForValue)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
builderForValue RollupDataPoint.Builder
Returns
Type Description
RollUpDataPointsResponse.Builder

addRollupDataPoints(int index, RollupDataPoint value)

public RollUpDataPointsResponse.Builder addRollupDataPoints(int index, RollupDataPoint value)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameters
Name Description
index int
value RollupDataPoint
Returns
Type Description
RollUpDataPointsResponse.Builder

addRollupDataPoints(int index, RollupDataPoint.Builder builderForValue)

public RollUpDataPointsResponse.Builder addRollupDataPoints(int index, RollupDataPoint.Builder builderForValue)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameters
Name Description
index int
builderForValue RollupDataPoint.Builder
Returns
Type Description
RollUpDataPointsResponse.Builder

addRollupDataPointsBuilder()

public RollupDataPoint.Builder addRollupDataPointsBuilder()

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Returns
Type Description
RollupDataPoint.Builder

addRollupDataPointsBuilder(int index)

public RollupDataPoint.Builder addRollupDataPointsBuilder(int index)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
RollupDataPoint.Builder

build()

public RollUpDataPointsResponse build()
Returns
Type Description
RollUpDataPointsResponse

buildPartial()

public RollUpDataPointsResponse buildPartial()
Returns
Type Description
RollUpDataPointsResponse

clear()

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

clearNextPageToken()

public RollUpDataPointsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
RollUpDataPointsResponse.Builder

This builder for chaining.

clearRollupDataPoints()

public RollUpDataPointsResponse.Builder clearRollupDataPoints()

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Returns
Type Description
RollUpDataPointsResponse.Builder

getDefaultInstanceForType()

public RollUpDataPointsResponse getDefaultInstanceForType()
Returns
Type Description
RollUpDataPointsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRollupDataPoints(int index)

public RollupDataPoint getRollupDataPoints(int index)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
RollupDataPoint

getRollupDataPointsBuilder(int index)

public RollupDataPoint.Builder getRollupDataPointsBuilder(int index)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
RollupDataPoint.Builder

getRollupDataPointsBuilderList()

public List<RollupDataPoint.Builder> getRollupDataPointsBuilderList()

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Returns
Type Description
List<Builder>

getRollupDataPointsCount()

public int getRollupDataPointsCount()

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Returns
Type Description
int

getRollupDataPointsList()

public List<RollupDataPoint> getRollupDataPointsList()

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Returns
Type Description
List<RollupDataPoint>

getRollupDataPointsOrBuilder(int index)

public RollupDataPointOrBuilder getRollupDataPointsOrBuilder(int index)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
RollupDataPointOrBuilder

getRollupDataPointsOrBuilderList()

public List<? extends RollupDataPointOrBuilder> getRollupDataPointsOrBuilderList()

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RollUpDataPointsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRollupDataPoints(int index)

public RollUpDataPointsResponse.Builder removeRollupDataPoints(int index)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
RollUpDataPointsResponse.Builder

setNextPageToken(String value)

public RollUpDataPointsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
RollUpDataPointsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public RollUpDataPointsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
RollUpDataPointsResponse.Builder

This builder for chaining.

setRollupDataPoints(int index, RollupDataPoint value)

public RollUpDataPointsResponse.Builder setRollupDataPoints(int index, RollupDataPoint value)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameters
Name Description
index int
value RollupDataPoint
Returns
Type Description
RollUpDataPointsResponse.Builder

setRollupDataPoints(int index, RollupDataPoint.Builder builderForValue)

public RollUpDataPointsResponse.Builder setRollupDataPoints(int index, RollupDataPoint.Builder builderForValue)

Values for each aggregation time window.

repeated .google.devicesandservices.health.v4.RollupDataPoint rollup_data_points = 1;

Parameters
Name Description
index int
builderForValue RollupDataPoint.Builder
Returns
Type Description
RollUpDataPointsResponse.Builder