Interface WeightOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    Required.
    double
    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 weight 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 the weight 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 the weight was measured
       
      .google.devicesandservices.health.v4.ObservationSampleTime sample_time = 2 [(.google.api.field_behavior) = REQUIRED];
    • getWeightGrams

      double getWeightGrams()
       Required. Weight of a user in grams.
       
      double weight_grams = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The weightGrams.
    • getNotes

      String getNotes()
       Optional. Standard free-form notes captured at manual logging.
       
      string notes = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The notes.
    • getNotesBytes

      com.google.protobuf.ByteString getNotesBytes()
       Optional. Standard free-form notes captured at manual logging.
       
      string notes = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for notes.