Class QueryReportTaskRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryReportTaskRequest.Builder>
com.google.analytics.data.v1alpha.QueryReportTaskRequest.Builder
All Implemented Interfaces:
QueryReportTaskRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryReportTaskRequest

public static final class QueryReportTaskRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryReportTaskRequest.Builder> implements QueryReportTaskRequestOrBuilder
 A request to fetch the report content for a report task.
 
Protobuf type google.analytics.data.v1alpha.QueryReportTaskRequest
  • 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<QueryReportTaskRequest.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<QueryReportTaskRequest.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<QueryReportTaskRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public QueryReportTaskRequest.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<QueryReportTaskRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The report source name.
       Format: `properties/{property}/reportTasks/{report}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface QueryReportTaskRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The report source name.
       Format: `properties/{property}/reportTasks/{report}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface QueryReportTaskRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public QueryReportTaskRequest.Builder setName(String value)
       Required. The report source name.
       Format: `properties/{property}/reportTasks/{report}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public QueryReportTaskRequest.Builder clearName()
       Required. The report source name.
       Format: `properties/{property}/reportTasks/{report}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public QueryReportTaskRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The report source name.
       Format: `properties/{property}/reportTasks/{report}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getOffset

      public long getOffset()
       Optional. The row count of the start row in the report. The first row is
       counted as row 0.
      
       When paging, the first request does not specify offset; or equivalently,
       sets offset to 0; the first request returns the first `limit` of rows. The
       second request sets offset to the `limit` of the first request; the second
       request returns the second `limit` of rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOffset in interface QueryReportTaskRequestOrBuilder
      Returns:
      The offset.
    • setOffset

      public QueryReportTaskRequest.Builder setOffset(long value)
       Optional. The row count of the start row in the report. The first row is
       counted as row 0.
      
       When paging, the first request does not specify offset; or equivalently,
       sets offset to 0; the first request returns the first `limit` of rows. The
       second request sets offset to the `limit` of the first request; the second
       request returns the second `limit` of rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The offset to set.
      Returns:
      This builder for chaining.
    • clearOffset

      public QueryReportTaskRequest.Builder clearOffset()
       Optional. The row count of the start row in the report. The first row is
       counted as row 0.
      
       When paging, the first request does not specify offset; or equivalently,
       sets offset to 0; the first request returns the first `limit` of rows. The
       second request sets offset to the `limit` of the first request; the second
       request returns the second `limit` of rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getLimit

      public long getLimit()
       Optional. The number of rows to return from the report. If unspecified,
       10,000 rows are returned. The API returns a maximum of 250,000 rows per
       request, no matter how many you ask for. `limit` must be positive.
      
       The API can also return fewer rows than the requested `limit`, if there
       aren't as many dimension values as the `limit`. The number of rows
       available to a QueryReportTaskRequest is further limited by the limit of
       the associated ReportTask. A query can retrieve at most ReportTask.limit
       rows. For example, if the ReportTask has a limit of 1,000, then a
       QueryReportTask request with offset=900 and limit=500 will return at most
       100 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLimit in interface QueryReportTaskRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public QueryReportTaskRequest.Builder setLimit(long value)
       Optional. The number of rows to return from the report. If unspecified,
       10,000 rows are returned. The API returns a maximum of 250,000 rows per
       request, no matter how many you ask for. `limit` must be positive.
      
       The API can also return fewer rows than the requested `limit`, if there
       aren't as many dimension values as the `limit`. The number of rows
       available to a QueryReportTaskRequest is further limited by the limit of
       the associated ReportTask. A query can retrieve at most ReportTask.limit
       rows. For example, if the ReportTask has a limit of 1,000, then a
       QueryReportTask request with offset=900 and limit=500 will return at most
       100 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public QueryReportTaskRequest.Builder clearLimit()
       Optional. The number of rows to return from the report. If unspecified,
       10,000 rows are returned. The API returns a maximum of 250,000 rows per
       request, no matter how many you ask for. `limit` must be positive.
      
       The API can also return fewer rows than the requested `limit`, if there
       aren't as many dimension values as the `limit`. The number of rows
       available to a QueryReportTaskRequest is further limited by the limit of
       the associated ReportTask. A query can retrieve at most ReportTask.limit
       rows. For example, if the ReportTask has a limit of 1,000, then a
       QueryReportTask request with offset=900 and limit=500 will return at most
       100 rows.
      
       To learn more about this pagination parameter, see
       [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
       
      int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.