# Interface BatchDeleteDataPointsRequestOrBuilder (0.2.0)

    public interface BatchDeleteDataPointsRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getNames(int index)

    public abstract String getNames(int index)

Required. The names of the DataPoints to delete.
A maximum of 10000 data points can be deleted in a single request.

`
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The names at the given index. |

### getNamesBytes(int index)

    public abstract ByteString getNamesBytes(int index)

Required. The names of the DataPoints to delete.
A maximum of 10000 data points can be deleted in a single request.

`
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the names at the given index. |

### getNamesCount()

    public abstract int getNamesCount()

Required. The names of the DataPoints to delete.
A maximum of 10000 data points can be deleted in a single request.

`
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of names. |

### getNamesList()

    public abstract List<String> getNamesList()

Required. The names of the DataPoints to delete.
A maximum of 10000 data points can be deleted in a single request.

`
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the names. |

### getParent()

    public abstract String getParent()

Optional. Parent (data type) for the Data Point collection
Format: `users/me/dataTypes/{data_type}`, e.g.:

- `users/me/dataTypes/steps`
- `users/me/dataTypes/-`

  For a list of the supported data types see the
  DataPoint data union
  field.

  Deleting data points across multiple data type collections is supported
  following <https://aip.dev/159>.

  If this is set, the parent of all of the data points specified in `names`
  must match this field.

`
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Optional. Parent (data type) for the Data Point collection
Format: `users/me/dataTypes/{data_type}`, e.g.:

- `users/me/dataTypes/steps`
- `users/me/dataTypes/-`

  For a list of the supported data types see the
  DataPoint data union
  field.

  Deleting data points across multiple data type collections is supported
  following <https://aip.dev/159>.

  If this is set, the parent of all of the data points specified in `names`
  must match this field.

`
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for parent. |