Interface BodyFatOrBuilder

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

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

    Modifier and Type
    Method
    Description
    double
    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 body fat was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the sampleTime field is set.
    • getSampleTime

      ObservationSampleTime getSampleTime()
       Required. The time at which body fat was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The sampleTime.
    • getSampleTimeOrBuilder

      ObservationSampleTimeOrBuilder getSampleTimeOrBuilder()
       Required. The time at which body fat was measured.
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPercentage

      double getPercentage()
       Required. Body fat percentage, in range [0, 100].
       
      double percentage = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The percentage.