Class RollUpDataPointsResponse.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface RollUpDataPointsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface RollUpDataPointsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public RollUpDataPointsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public RollUpDataPointsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public RollUpDataPointsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.