Class HydrationLogRollupValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HydrationLogRollupValue.Builder>
com.google.devicesandservices.health.v4.HydrationLogRollupValue.Builder
All Implemented Interfaces:
HydrationLogRollupValueOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
HydrationLogRollupValue

public static final class HydrationLogRollupValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<HydrationLogRollupValue.Builder> implements HydrationLogRollupValueOrBuilder
 Represents the result of the rollup of the hydration log data type.
 
Protobuf type google.devicesandservices.health.v4.HydrationLogRollupValue
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HydrationLogRollupValue.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<HydrationLogRollupValue.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HydrationLogRollupValue.Builder>
    • getDefaultInstanceForType

      public HydrationLogRollupValue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public HydrationLogRollupValue build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HydrationLogRollupValue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public HydrationLogRollupValue.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HydrationLogRollupValue.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<HydrationLogRollupValue.Builder>
    • mergeFrom

      public HydrationLogRollupValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HydrationLogRollupValue.Builder>
      Throws:
      IOException
    • hasAmountConsumed

      public boolean hasAmountConsumed()
       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
      Specified by:
      hasAmountConsumed in interface HydrationLogRollupValueOrBuilder
      Returns:
      Whether the amountConsumed field is set.
    • getAmountConsumed

       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
      Specified by:
      getAmountConsumed in interface HydrationLogRollupValueOrBuilder
      Returns:
      The amountConsumed.
    • setAmountConsumed

       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
    • setAmountConsumed

       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
    • mergeAmountConsumed

       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
    • clearAmountConsumed

      public HydrationLogRollupValue.Builder clearAmountConsumed()
       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
    • getAmountConsumedBuilder

      public HydrationLogRollupValue.VolumeQuantityRollup.Builder getAmountConsumedBuilder()
       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
    • getAmountConsumedOrBuilder

      public HydrationLogRollupValue.VolumeQuantityRollupOrBuilder getAmountConsumedOrBuilder()
       Rollup for amount consumed.
       
      .google.devicesandservices.health.v4.HydrationLogRollupValue.VolumeQuantityRollup amount_consumed = 1;
      Specified by:
      getAmountConsumedOrBuilder in interface HydrationLogRollupValueOrBuilder