Interface VolumeQuantityOrBuilder

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

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

    Modifier and Type
    Method
    Description
    double
    Required.
    Optional.
    int
    Optional.

    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

    • getMilliliters

      double getMilliliters()
       Required. Value representing the volume in milliliters.
       
      double milliliters = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The milliliters.
    • getUserProvidedUnitValue

      int getUserProvidedUnitValue()
       Optional. Value representing the user provided unit.
       
      .google.devicesandservices.health.v4.VolumeUnit user_provided_unit = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for userProvidedUnit.
    • getUserProvidedUnit

      VolumeUnit getUserProvidedUnit()
       Optional. Value representing the user provided unit.
       
      .google.devicesandservices.health.v4.VolumeUnit user_provided_unit = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The userProvidedUnit.