Interface ObservationSampleTimeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ObservationSampleTime, ObservationSampleTime.Builder

@Generated public interface ObservationSampleTimeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    Output only.
    com.google.protobuf.Timestamp
    Required.
    com.google.protobuf.TimestampOrBuilder
    Required.
    com.google.protobuf.Duration
    Required.
    com.google.protobuf.DurationOrBuilder
    Required.
    boolean
    Output only.
    boolean
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPhysicalTime

      boolean hasPhysicalTime()
       Required. The time of the observation.
       
      .google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the physicalTime field is set.
    • getPhysicalTime

      com.google.protobuf.Timestamp getPhysicalTime()
       Required. The time of the observation.
       
      .google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The physicalTime.
    • getPhysicalTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getPhysicalTimeOrBuilder()
       Required. The time of the observation.
       
      .google.protobuf.Timestamp physical_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasUtcOffset

      boolean hasUtcOffset()
       Required. The offset of the user's local time during the observation
       relative to the Coordinated Universal Time (UTC).
       
      .google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the utcOffset field is set.
    • getUtcOffset

      com.google.protobuf.Duration getUtcOffset()
       Required. The offset of the user's local time during the observation
       relative to the Coordinated Universal Time (UTC).
       
      .google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The utcOffset.
    • getUtcOffsetOrBuilder

      com.google.protobuf.DurationOrBuilder getUtcOffsetOrBuilder()
       Required. The offset of the user's local time during the observation
       relative to the Coordinated Universal Time (UTC).
       
      .google.protobuf.Duration utc_offset = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasCivilTime

      boolean hasCivilTime()
       Output only. The civil time in the timezone the subject is in
       at the time of the observation.
       
      .google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the civilTime field is set.
    • getCivilTime

      CivilDateTime getCivilTime()
       Output only. The civil time in the timezone the subject is in
       at the time of the observation.
       
      .google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The civilTime.
    • getCivilTimeOrBuilder

      CivilDateTimeOrBuilder getCivilTimeOrBuilder()
       Output only. The civil time in the timezone the subject is in
       at the time of the observation.
       
      .google.devicesandservices.health.v4.CivilDateTime civil_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];