Interface Exercise.ExerciseEventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Exercise.ExerciseEvent, Exercise.ExerciseEvent.Builder
Enclosing class:
Exercise

public static interface Exercise.ExerciseEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasEventTime

      boolean hasEventTime()
       Required. Exercise event time
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the eventTime field is set.
    • getEventTime

      com.google.protobuf.Timestamp getEventTime()
       Required. Exercise event time
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The eventTime.
    • getEventTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
       Required. Exercise event time
       
      .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasEventUtcOffset

      boolean hasEventUtcOffset()
       Required. Exercise event time offset from UTC
       
      .google.protobuf.Duration event_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the eventUtcOffset field is set.
    • getEventUtcOffset

      com.google.protobuf.Duration getEventUtcOffset()
       Required. Exercise event time offset from UTC
       
      .google.protobuf.Duration event_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The eventUtcOffset.
    • getEventUtcOffsetOrBuilder

      com.google.protobuf.DurationOrBuilder getEventUtcOffsetOrBuilder()
       Required. Exercise event time offset from UTC
       
      .google.protobuf.Duration event_utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
    • getExerciseEventTypeValue

      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:
      The enum numeric value on the wire for 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:
      The exerciseEventType.