Interface StepsOrBuilder (0.2.0)

public interface StepsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCount()

public abstract long getCount()

Required. Number of steps in the recorded interval.

optional int64 count = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The count.

getInterval()

public abstract ObservationTimeInterval getInterval()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationTimeInterval

The interval.

getIntervalOrBuilder()

public abstract ObservationTimeIntervalOrBuilder getIntervalOrBuilder()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ObservationTimeIntervalOrBuilder

hasCount()

public abstract boolean hasCount()

Required. Number of steps in the recorded interval.

optional int64 count = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the count field is set.

hasInterval()

public abstract boolean hasInterval()

Required. Observed interval.

.google.devicesandservices.health.v4.ObservationTimeInterval interval = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the interval field is set.