# Interface UpdateDataPointRequestOrBuilder (0.2.0)

    public interface UpdateDataPointRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDataPoint()

    public abstract DataPoint getDataPoint()

Required. The data point to update

The data point's `name` field is used to identify the data point to update.

Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}`

`
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.DataPoint` | The dataPoint. |

### getDataPointOrBuilder()

    public abstract DataPointOrBuilder getDataPointOrBuilder()

Required. The data point to update

The data point's `name` field is used to identify the data point to update.

Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}`

`
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-health/latest/com.google.devicesandservices.health.v4.DataPointOrBuilder` |   |

### hasDataPoint()

    public abstract boolean hasDataPoint()

Required. The data point to update

The data point's `name` field is used to identify the data point to update.

Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}`

`
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the dataPoint field is set. |