Class DailyRollUpDataPointsResponse.Builder

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

public static final class DailyRollUpDataPointsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<DailyRollUpDataPointsResponse.Builder> implements DailyRollUpDataPointsResponseOrBuilder
 Response containing the list of rolled up data points.
 
Protobuf type google.devicesandservices.health.v4.DailyRollUpDataPointsResponse
  • 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<DailyRollUpDataPointsResponse.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<DailyRollUpDataPointsResponse.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<DailyRollUpDataPointsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DailyRollUpDataPointsResponse.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<DailyRollUpDataPointsResponse.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<DailyRollUpDataPointsResponse.Builder>
    • mergeFrom

      public DailyRollUpDataPointsResponse.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<DailyRollUpDataPointsResponse.Builder>
      Throws:
      IOException
    • getRollupDataPointsList

      public List<DailyRollupDataPoint> getRollupDataPointsList()
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
      Specified by:
      getRollupDataPointsList in interface DailyRollUpDataPointsResponseOrBuilder
    • getRollupDataPointsCount

      public int getRollupDataPointsCount()
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
      Specified by:
      getRollupDataPointsCount in interface DailyRollUpDataPointsResponseOrBuilder
    • getRollupDataPoints

      public DailyRollupDataPoint getRollupDataPoints(int index)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
      Specified by:
      getRollupDataPoints in interface DailyRollUpDataPointsResponseOrBuilder
    • setRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder setRollupDataPoints(int index, DailyRollupDataPoint value)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • setRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder setRollupDataPoints(int index, DailyRollupDataPoint.Builder builderForValue)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • addRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder addRollupDataPoints(DailyRollupDataPoint value)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • addRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder addRollupDataPoints(int index, DailyRollupDataPoint value)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • addRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder addRollupDataPoints(DailyRollupDataPoint.Builder builderForValue)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • addRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder addRollupDataPoints(int index, DailyRollupDataPoint.Builder builderForValue)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • addAllRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder addAllRollupDataPoints(Iterable<? extends DailyRollupDataPoint> values)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • clearRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder clearRollupDataPoints()
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • removeRollupDataPoints

      public DailyRollUpDataPointsResponse.Builder removeRollupDataPoints(int index)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • getRollupDataPointsBuilder

      public DailyRollupDataPoint.Builder getRollupDataPointsBuilder(int index)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • getRollupDataPointsOrBuilder

      public DailyRollupDataPointOrBuilder getRollupDataPointsOrBuilder(int index)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
      Specified by:
      getRollupDataPointsOrBuilder in interface DailyRollUpDataPointsResponseOrBuilder
    • getRollupDataPointsOrBuilderList

      public List<? extends DailyRollupDataPointOrBuilder> getRollupDataPointsOrBuilderList()
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
      Specified by:
      getRollupDataPointsOrBuilderList in interface DailyRollUpDataPointsResponseOrBuilder
    • addRollupDataPointsBuilder

      public DailyRollupDataPoint.Builder addRollupDataPointsBuilder()
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • addRollupDataPointsBuilder

      public DailyRollupDataPoint.Builder addRollupDataPointsBuilder(int index)
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;
    • getRollupDataPointsBuilderList

      public List<DailyRollupDataPoint.Builder> getRollupDataPointsBuilderList()
       Values for each aggregation time window.
       
      repeated .google.devicesandservices.health.v4.DailyRollupDataPoint rollup_data_points = 1;