Interface CreateDataPointRequestOrBuilder (0.12.0)

public interface CreateDataPointRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataPoint()

public abstract DataPoint getDataPoint()

Required. The data point to create.

.google.devicesandservices.health.v4beta.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.v4beta.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}, e.g.:

  • users/me/dataTypes/steps
  • users/1234567890/dataTypes/steps

    The {user} can be either the alias me or the authenticated user's numeric Health User ID (retrieved via GetIdentity).

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}, e.g.:

  • users/me/dataTypes/steps
  • users/1234567890/dataTypes/steps

    The {user} can be either the alias me or the authenticated user's numeric Health User ID (retrieved via GetIdentity).

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.v4beta.DataPoint data_point = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataPoint field is set.