Interface HeightOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    Required.
    Required.
    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

    • hasSampleTime

      boolean hasSampleTime()
       Required. The time at which the height was recorded.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the sampleTime field is set.
    • getSampleTime

      ObservationSampleTime getSampleTime()
       Required. The time at which the height was recorded.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The sampleTime.
    • getSampleTimeOrBuilder

      ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()
       Required. The time at which the height was recorded.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 1 [(.google.api.field_behavior) = REQUIRED];
    • getHeightMillimeters

      long getHeightMillimeters()
       Required. Height of the user in millimeters.
       
      int64 height_millimeters = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The heightMillimeters.