Interface CreateDataPointRequestOrBuilder (0.2.0)

public interface CreateDataPointRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataPoint()

public abstract DataPoint getDataPoint()

Required. The data point to create.

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

Returns
Type Description
DataPoint

The dataPoint.

getDataPointOrBuilder()

public abstract DataPointOrBuilder getDataPointOrBuilder()

Required. The data point to create.

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

Returns
Type Description
DataPointOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource name where the data point will be created. Format: users/{user}/dataTypes/{data_type}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource name where the data point will be created. Format: users/{user}/dataTypes/{data_type}

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

Returns
Type Description
ByteString

The bytes for parent.

hasDataPoint()

public abstract boolean hasDataPoint()

Required. The data point to create.

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

Returns
Type Description
boolean

Whether the dataPoint field is set.