Class BatchDeleteDataPointsResponse.Builder (0.2.0)

public static final class BatchDeleteDataPointsResponse.Builder extends GeneratedMessage.Builder<BatchDeleteDataPointsResponse.Builder> implements BatchDeleteDataPointsResponseOrBuilder

Response containing the list of possibly soft-deleted DataPoints.

Protobuf type google.devicesandservices.health.v4.BatchDeleteDataPointsResponse

Static Methods

getDescriptor()

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

Methods

addAllDataPoints(Iterable<? extends DataPoint> values)

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

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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

addDataPoints(DataPoint value)

public BatchDeleteDataPointsResponse.Builder addDataPoints(DataPoint value)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Parameter
Name Description
value DataPoint
Returns
Type Description
BatchDeleteDataPointsResponse.Builder

addDataPoints(DataPoint.Builder builderForValue)

public BatchDeleteDataPointsResponse.Builder addDataPoints(DataPoint.Builder builderForValue)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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

addDataPoints(int index, DataPoint value)

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

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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

addDataPoints(int index, DataPoint.Builder builderForValue)

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

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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

addDataPointsBuilder()

public DataPoint.Builder addDataPointsBuilder()

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Returns
Type Description
DataPoint.Builder

addDataPointsBuilder(int index)

public DataPoint.Builder addDataPointsBuilder(int index)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Parameter
Name Description
index int
Returns
Type Description
DataPoint.Builder

build()

public BatchDeleteDataPointsResponse build()
Returns
Type Description
BatchDeleteDataPointsResponse

buildPartial()

public BatchDeleteDataPointsResponse buildPartial()
Returns
Type Description
BatchDeleteDataPointsResponse

clear()

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

clearDataPoints()

public BatchDeleteDataPointsResponse.Builder clearDataPoints()

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Returns
Type Description
BatchDeleteDataPointsResponse.Builder

getDataPoints(int index)

public DataPoint getDataPoints(int index)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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()

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Returns
Type Description
List<Builder>

getDataPointsCount()

public int getDataPointsCount()

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Returns
Type Description
int

getDataPointsList()

public List<DataPoint> getDataPointsList()

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Returns
Type Description
List<DataPoint>

getDataPointsOrBuilder(int index)

public DataPointOrBuilder getDataPointsOrBuilder(int index)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Parameter
Name Description
index int
Returns
Type Description
DataPointOrBuilder

getDataPointsOrBuilderList()

public List<? extends DataPointOrBuilder> getDataPointsOrBuilderList()

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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

getDefaultInstanceForType()

public BatchDeleteDataPointsResponse getDefaultInstanceForType()
Returns
Type Description
BatchDeleteDataPointsResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeleteDataPointsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDataPoints(int index)

public BatchDeleteDataPointsResponse.Builder removeDataPoints(int index)

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

Parameter
Name Description
index int
Returns
Type Description
BatchDeleteDataPointsResponse.Builder

setDataPoints(int index, DataPoint value)

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

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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

setDataPoints(int index, DataPoint.Builder builderForValue)

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

The list of soft-deleted DataPoints, if the data type supports only soft deletion.

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

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