Interface Exercise.ExerciseEventOrBuilder (0.2.0)

public static interface Exercise.ExerciseEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventTime()

public abstract Timestamp getEventTime()

Required. Exercise event time

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public abstract TimestampOrBuilder getEventTimeOrBuilder()

Required. Exercise event time

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getEventUtcOffset()

public abstract Duration getEventUtcOffset()

Required. Exercise event time offset from UTC

.google.protobuf.Duration event_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The eventUtcOffset.

getEventUtcOffsetOrBuilder()

public abstract DurationOrBuilder getEventUtcOffsetOrBuilder()

Required. Exercise event time offset from UTC

.google.protobuf.Duration event_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

getExerciseEventType()

public abstract Exercise.ExerciseEvent.ExerciseEventType getExerciseEventType()

Required. The type of the event, such as start, stop, pause, resume.

.google.devicesandservices.health.v4.Exercise.ExerciseEvent.ExerciseEventType exercise_event_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Exercise.ExerciseEvent.ExerciseEventType

The exerciseEventType.

getExerciseEventTypeValue()

public abstract int getExerciseEventTypeValue()

Required. The type of the event, such as start, stop, pause, resume.

.google.devicesandservices.health.v4.Exercise.ExerciseEvent.ExerciseEventType exercise_event_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for exerciseEventType.

hasEventTime()

public abstract boolean hasEventTime()

Required. Exercise event time

.google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventTime field is set.

hasEventUtcOffset()

public abstract boolean hasEventUtcOffset()

Required. Exercise event time offset from UTC

.google.protobuf.Duration event_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventUtcOffset field is set.