Class ReportTask.ReportDefinition.Builder

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

public static final class ReportTask.ReportDefinition.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportTask.ReportDefinition.Builder> implements ReportTask.ReportDefinitionOrBuilder
 The definition of how a report should be run.
 
Protobuf type google.analytics.data.v1alpha.ReportTask.ReportDefinition
  • 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<ReportTask.ReportDefinition.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<ReportTask.ReportDefinition.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<ReportTask.ReportDefinition.Builder>
    • getDefaultInstanceForType

      public ReportTask.ReportDefinition 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 ReportTask.ReportDefinition buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ReportTask.ReportDefinition.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<ReportTask.ReportDefinition.Builder>
      Throws:
      IOException
    • getDimensionsList

      public List<Dimension> getDimensionsList()
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionsList in interface ReportTask.ReportDefinitionOrBuilder
    • getDimensionsCount

      public int getDimensionsCount()
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionsCount in interface ReportTask.ReportDefinitionOrBuilder
    • getDimensions

      public Dimension getDimensions(int index)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensions in interface ReportTask.ReportDefinitionOrBuilder
    • setDimensions

      public ReportTask.ReportDefinition.Builder setDimensions(int index, Dimension value)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setDimensions

      public ReportTask.ReportDefinition.Builder setDimensions(int index, Dimension.Builder builderForValue)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addDimensions

      public ReportTask.ReportDefinition.Builder addDimensions(Dimension value)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addDimensions

      public ReportTask.ReportDefinition.Builder addDimensions(int index, Dimension value)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addDimensions

      public ReportTask.ReportDefinition.Builder addDimensions(Dimension.Builder builderForValue)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addDimensions

      public ReportTask.ReportDefinition.Builder addDimensions(int index, Dimension.Builder builderForValue)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllDimensions

      public ReportTask.ReportDefinition.Builder addAllDimensions(Iterable<? extends Dimension> values)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearDimensions

      public ReportTask.ReportDefinition.Builder clearDimensions()
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeDimensions

      public ReportTask.ReportDefinition.Builder removeDimensions(int index)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDimensionsBuilder

      public Dimension.Builder getDimensionsBuilder(int index)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDimensionsOrBuilder

      public DimensionOrBuilder getDimensionsOrBuilder(int index)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionsOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • getDimensionsOrBuilderList

      public List<? extends DimensionOrBuilder> getDimensionsOrBuilderList()
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionsOrBuilderList in interface ReportTask.ReportDefinitionOrBuilder
    • addDimensionsBuilder

      public Dimension.Builder addDimensionsBuilder()
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addDimensionsBuilder

      public Dimension.Builder addDimensionsBuilder(int index)
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDimensionsBuilderList

      public List<Dimension.Builder> getDimensionsBuilderList()
       Optional. The dimensions requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMetricsList

      public List<Metric> getMetricsList()
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricsList in interface ReportTask.ReportDefinitionOrBuilder
    • getMetricsCount

      public int getMetricsCount()
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricsCount in interface ReportTask.ReportDefinitionOrBuilder
    • getMetrics

      public Metric getMetrics(int index)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetrics in interface ReportTask.ReportDefinitionOrBuilder
    • setMetrics

      public ReportTask.ReportDefinition.Builder setMetrics(int index, Metric value)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setMetrics

      public ReportTask.ReportDefinition.Builder setMetrics(int index, Metric.Builder builderForValue)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addMetrics

      public ReportTask.ReportDefinition.Builder addMetrics(Metric value)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addMetrics

      public ReportTask.ReportDefinition.Builder addMetrics(int index, Metric value)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addMetrics

      public ReportTask.ReportDefinition.Builder addMetrics(Metric.Builder builderForValue)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addMetrics

      public ReportTask.ReportDefinition.Builder addMetrics(int index, Metric.Builder builderForValue)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllMetrics

      public ReportTask.ReportDefinition.Builder addAllMetrics(Iterable<? extends Metric> values)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearMetrics

      public ReportTask.ReportDefinition.Builder clearMetrics()
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeMetrics

      public ReportTask.ReportDefinition.Builder removeMetrics(int index)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMetricsBuilder

      public Metric.Builder getMetricsBuilder(int index)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMetricsOrBuilder

      public MetricOrBuilder getMetricsOrBuilder(int index)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricsOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • getMetricsOrBuilderList

      public List<? extends MetricOrBuilder> getMetricsOrBuilderList()
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricsOrBuilderList in interface ReportTask.ReportDefinitionOrBuilder
    • addMetricsBuilder

      public Metric.Builder addMetricsBuilder()
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addMetricsBuilder

      public Metric.Builder addMetricsBuilder(int index)
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMetricsBuilderList

      public List<Metric.Builder> getMetricsBuilderList()
       Optional. The metrics requested and displayed.
       
      repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getDateRangesList

      public List<DateRange> getDateRangesList()
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDateRangesList in interface ReportTask.ReportDefinitionOrBuilder
    • getDateRangesCount

      public int getDateRangesCount()
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDateRangesCount in interface ReportTask.ReportDefinitionOrBuilder
    • getDateRanges

      public DateRange getDateRanges(int index)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDateRanges in interface ReportTask.ReportDefinitionOrBuilder
    • setDateRanges

      public ReportTask.ReportDefinition.Builder setDateRanges(int index, DateRange value)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setDateRanges

      public ReportTask.ReportDefinition.Builder setDateRanges(int index, DateRange.Builder builderForValue)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addDateRanges

      public ReportTask.ReportDefinition.Builder addDateRanges(DateRange value)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addDateRanges

      public ReportTask.ReportDefinition.Builder addDateRanges(int index, DateRange value)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addDateRanges

      public ReportTask.ReportDefinition.Builder addDateRanges(DateRange.Builder builderForValue)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addDateRanges

      public ReportTask.ReportDefinition.Builder addDateRanges(int index, DateRange.Builder builderForValue)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addAllDateRanges

      public ReportTask.ReportDefinition.Builder addAllDateRanges(Iterable<? extends DateRange> values)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearDateRanges

      public ReportTask.ReportDefinition.Builder clearDateRanges()
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • removeDateRanges

      public ReportTask.ReportDefinition.Builder removeDateRanges(int index)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDateRangesBuilder

      public DateRange.Builder getDateRangesBuilder(int index)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDateRangesOrBuilder

      public DateRangeOrBuilder getDateRangesOrBuilder(int index)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDateRangesOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • getDateRangesOrBuilderList

      public List<? extends DateRangeOrBuilder> getDateRangesOrBuilderList()
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDateRangesOrBuilderList in interface ReportTask.ReportDefinitionOrBuilder
    • addDateRangesBuilder

      public DateRange.Builder addDateRangesBuilder()
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addDateRangesBuilder

      public DateRange.Builder addDateRangesBuilder(int index)
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDateRangesBuilderList

      public List<DateRange.Builder> getDateRangesBuilderList()
       Optional. Date ranges of data to read. If multiple date ranges are
       requested, each response row will contain a zero based date range index.
       If two date ranges overlap, the event data for the overlapping days is
       included in the response rows for both date ranges. In a cohort request,
       this `dateRanges` must be unspecified.
       
      repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasDimensionFilter

      public boolean hasDimensionFilter()
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDimensionFilter in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      Whether the dimensionFilter field is set.
    • getDimensionFilter

      public FilterExpression getDimensionFilter()
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionFilter in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The dimensionFilter.
    • setDimensionFilter

      public ReportTask.ReportDefinition.Builder setDimensionFilter(FilterExpression value)
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setDimensionFilter

      public ReportTask.ReportDefinition.Builder setDimensionFilter(FilterExpression.Builder builderForValue)
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDimensionFilter

      public ReportTask.ReportDefinition.Builder mergeDimensionFilter(FilterExpression value)
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearDimensionFilter

      public ReportTask.ReportDefinition.Builder clearDimensionFilter()
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getDimensionFilterBuilder

      public FilterExpression.Builder getDimensionFilterBuilder()
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getDimensionFilterOrBuilder

      public FilterExpressionOrBuilder getDimensionFilterOrBuilder()
       Optional. Dimension filters let you ask for only specific dimension
       values in the report. To learn more, see [Fundamentals of Dimension
       Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
       for examples. Metrics cannot be used in this filter.
       
      .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDimensionFilterOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • hasMetricFilter

      public boolean hasMetricFilter()
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMetricFilter in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      Whether the metricFilter field is set.
    • getMetricFilter

      public FilterExpression getMetricFilter()
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricFilter in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The metricFilter.
    • setMetricFilter

      public ReportTask.ReportDefinition.Builder setMetricFilter(FilterExpression value)
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setMetricFilter

      public ReportTask.ReportDefinition.Builder setMetricFilter(FilterExpression.Builder builderForValue)
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMetricFilter

      public ReportTask.ReportDefinition.Builder mergeMetricFilter(FilterExpression value)
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearMetricFilter

      public ReportTask.ReportDefinition.Builder clearMetricFilter()
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetricFilterBuilder

      public FilterExpression.Builder getMetricFilterBuilder()
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetricFilterOrBuilder

      public FilterExpressionOrBuilder getMetricFilterOrBuilder()
       Optional. The filter clause of metrics. Applied after aggregating the
       report's rows, similar to SQL having-clause. Dimensions cannot be used in
       this filter.
       
      .google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricFilterOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • getOffset

      public long getOffset()
       Optional. The row count of the start row from Google Analytics Storage.
       The first row is counted as row 0.
      
       When creating a report task, the `offset` and `limit` parameters define
       the subset of data rows from Google Analytics storage to be included in
       the generated report. For example, if there are a total of 300,000 rows
       in Google Analytics storage, the initial report task may have the
       first 10,000 rows with a limit of 10,000 and an offset of 0.
       Subsequently, another report task could cover the next 10,000 rows with a
       limit of 10,000 and an offset of 10,000.
       
      int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOffset in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The offset.
    • setOffset

      public ReportTask.ReportDefinition.Builder setOffset(long value)
       Optional. The row count of the start row from Google Analytics Storage.
       The first row is counted as row 0.
      
       When creating a report task, the `offset` and `limit` parameters define
       the subset of data rows from Google Analytics storage to be included in
       the generated report. For example, if there are a total of 300,000 rows
       in Google Analytics storage, the initial report task may have the
       first 10,000 rows with a limit of 10,000 and an offset of 0.
       Subsequently, another report task could cover the next 10,000 rows with a
       limit of 10,000 and an offset of 10,000.
       
      int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The offset to set.
      Returns:
      This builder for chaining.
    • clearOffset

       Optional. The row count of the start row from Google Analytics Storage.
       The first row is counted as row 0.
      
       When creating a report task, the `offset` and `limit` parameters define
       the subset of data rows from Google Analytics storage to be included in
       the generated report. For example, if there are a total of 300,000 rows
       in Google Analytics storage, the initial report task may have the
       first 10,000 rows with a limit of 10,000 and an offset of 0.
       Subsequently, another report task could cover the next 10,000 rows with a
       limit of 10,000 and an offset of 10,000.
       
      int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getLimit

      public long getLimit()
       Optional. The number of rows to return in 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`. For instance, there are
       fewer than 300 possible values for the dimension `country`, so when
       reporting on only `country`, you can't get more than 300 rows, even if
       you set `limit` to a higher value.
       
      int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLimit in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The limit.
    • setLimit

      public ReportTask.ReportDefinition.Builder setLimit(long value)
       Optional. The number of rows to return in 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`. For instance, there are
       fewer than 300 possible values for the dimension `country`, so when
       reporting on only `country`, you can't get more than 300 rows, even if
       you set `limit` to a higher value.
       
      int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

       Optional. The number of rows to return in 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`. For instance, there are
       fewer than 300 possible values for the dimension `country`, so when
       reporting on only `country`, you can't get more than 300 rows, even if
       you set `limit` to a higher value.
       
      int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMetricAggregationsList

      public List<MetricAggregation> getMetricAggregationsList()
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricAggregationsList in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      A list containing the metricAggregations.
    • getMetricAggregationsCount

      public int getMetricAggregationsCount()
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricAggregationsCount in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The count of metricAggregations.
    • getMetricAggregations

      public MetricAggregation getMetricAggregations(int index)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricAggregations in interface ReportTask.ReportDefinitionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The metricAggregations at the given index.
    • setMetricAggregations

      public ReportTask.ReportDefinition.Builder setMetricAggregations(int index, MetricAggregation value)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The metricAggregations to set.
      Returns:
      This builder for chaining.
    • addMetricAggregations

      public ReportTask.ReportDefinition.Builder addMetricAggregations(MetricAggregation value)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The metricAggregations to add.
      Returns:
      This builder for chaining.
    • addAllMetricAggregations

      public ReportTask.ReportDefinition.Builder addAllMetricAggregations(Iterable<? extends MetricAggregation> values)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The metricAggregations to add.
      Returns:
      This builder for chaining.
    • clearMetricAggregations

      public ReportTask.ReportDefinition.Builder clearMetricAggregations()
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMetricAggregationsValueList

      public List<Integer> getMetricAggregationsValueList()
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricAggregationsValueList in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for metricAggregations.
    • getMetricAggregationsValue

      public int getMetricAggregationsValue(int index)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetricAggregationsValue in interface ReportTask.ReportDefinitionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of metricAggregations at the given index.
    • setMetricAggregationsValue

      public ReportTask.ReportDefinition.Builder setMetricAggregationsValue(int index, int value)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for metricAggregations to set.
      Returns:
      This builder for chaining.
    • addMetricAggregationsValue

      public ReportTask.ReportDefinition.Builder addMetricAggregationsValue(int value)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for metricAggregations to add.
      Returns:
      This builder for chaining.
    • addAllMetricAggregationsValue

      public ReportTask.ReportDefinition.Builder addAllMetricAggregationsValue(Iterable<Integer> values)
       Optional. Aggregation of metrics. Aggregated metric values will be shown
       in rows where the dimension_values are set to
       "RESERVED_(MetricAggregation)".
       
      repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for metricAggregations to add.
      Returns:
      This builder for chaining.
    • getOrderBysList

      public List<OrderBy> getOrderBysList()
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBysList in interface ReportTask.ReportDefinitionOrBuilder
    • getOrderBysCount

      public int getOrderBysCount()
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBysCount in interface ReportTask.ReportDefinitionOrBuilder
    • getOrderBys

      public OrderBy getOrderBys(int index)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBys in interface ReportTask.ReportDefinitionOrBuilder
    • setOrderBys

      public ReportTask.ReportDefinition.Builder setOrderBys(int index, OrderBy value)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • setOrderBys

      public ReportTask.ReportDefinition.Builder setOrderBys(int index, OrderBy.Builder builderForValue)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • addOrderBys

      public ReportTask.ReportDefinition.Builder addOrderBys(OrderBy value)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • addOrderBys

      public ReportTask.ReportDefinition.Builder addOrderBys(int index, OrderBy value)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • addOrderBys

      public ReportTask.ReportDefinition.Builder addOrderBys(OrderBy.Builder builderForValue)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • addOrderBys

      public ReportTask.ReportDefinition.Builder addOrderBys(int index, OrderBy.Builder builderForValue)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • addAllOrderBys

      public ReportTask.ReportDefinition.Builder addAllOrderBys(Iterable<? extends OrderBy> values)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • clearOrderBys

      public ReportTask.ReportDefinition.Builder clearOrderBys()
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • removeOrderBys

      public ReportTask.ReportDefinition.Builder removeOrderBys(int index)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getOrderBysBuilder

      public OrderBy.Builder getOrderBysBuilder(int index)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getOrderBysOrBuilder

      public OrderByOrBuilder getOrderBysOrBuilder(int index)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBysOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • getOrderBysOrBuilderList

      public List<? extends OrderByOrBuilder> getOrderBysOrBuilderList()
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBysOrBuilderList in interface ReportTask.ReportDefinitionOrBuilder
    • addOrderBysBuilder

      public OrderBy.Builder addOrderBysBuilder()
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • addOrderBysBuilder

      public OrderBy.Builder addOrderBysBuilder(int index)
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getOrderBysBuilderList

      public List<OrderBy.Builder> getOrderBysBuilderList()
       Optional. Specifies how rows are ordered in the response.
       
      repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getCurrencyCode

      public String getCurrencyCode()
       Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY".
       If the field is empty, the report uses the property's default currency.
       
      string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCurrencyCode in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY".
       If the field is empty, the report uses the property's default currency.
       
      string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCurrencyCodeBytes in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The bytes for currencyCode.
    • setCurrencyCode

      public ReportTask.ReportDefinition.Builder setCurrencyCode(String value)
       Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY".
       If the field is empty, the report uses the property's default currency.
       
      string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The currencyCode to set.
      Returns:
      This builder for chaining.
    • clearCurrencyCode

      public ReportTask.ReportDefinition.Builder clearCurrencyCode()
       Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY".
       If the field is empty, the report uses the property's default currency.
       
      string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCurrencyCodeBytes

      public ReportTask.ReportDefinition.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
       Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY".
       If the field is empty, the report uses the property's default currency.
       
      string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for currencyCode to set.
      Returns:
      This builder for chaining.
    • hasCohortSpec

      public boolean hasCohortSpec()
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCohortSpec in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      Whether the cohortSpec field is set.
    • getCohortSpec

      public CohortSpec getCohortSpec()
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCohortSpec in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The cohortSpec.
    • setCohortSpec

      public ReportTask.ReportDefinition.Builder setCohortSpec(CohortSpec value)
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setCohortSpec

      public ReportTask.ReportDefinition.Builder setCohortSpec(CohortSpec.Builder builderForValue)
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCohortSpec

      public ReportTask.ReportDefinition.Builder mergeCohortSpec(CohortSpec value)
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearCohortSpec

      public ReportTask.ReportDefinition.Builder clearCohortSpec()
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getCohortSpecBuilder

      public CohortSpec.Builder getCohortSpecBuilder()
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getCohortSpecOrBuilder

      public CohortSpecOrBuilder getCohortSpecOrBuilder()
       Optional. Cohort group associated with this request. If there is a cohort
       group in the request the 'cohort' dimension must be present.
       
      .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCohortSpecOrBuilder in interface ReportTask.ReportDefinitionOrBuilder
    • getKeepEmptyRows

      public boolean getKeepEmptyRows()
       Optional. If false or unspecified, each row with all metrics equal to 0
       will not be returned. If true, these rows will be returned if they are
       not separately removed by a filter.
      
       Regardless of this `keep_empty_rows` setting, only data recorded by the
       Google Analytics property can be displayed in a report.
      
       For example if a property never logs a `purchase` event, then a query for
       the `eventName` dimension and  `eventCount` metric will not have a row
       containing eventName: "purchase" and eventCount: 0.
       
      bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeepEmptyRows in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The keepEmptyRows.
    • setKeepEmptyRows

      public ReportTask.ReportDefinition.Builder setKeepEmptyRows(boolean value)
       Optional. If false or unspecified, each row with all metrics equal to 0
       will not be returned. If true, these rows will be returned if they are
       not separately removed by a filter.
      
       Regardless of this `keep_empty_rows` setting, only data recorded by the
       Google Analytics property can be displayed in a report.
      
       For example if a property never logs a `purchase` event, then a query for
       the `eventName` dimension and  `eventCount` metric will not have a row
       containing eventName: "purchase" and eventCount: 0.
       
      bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The keepEmptyRows to set.
      Returns:
      This builder for chaining.
    • clearKeepEmptyRows

      public ReportTask.ReportDefinition.Builder clearKeepEmptyRows()
       Optional. If false or unspecified, each row with all metrics equal to 0
       will not be returned. If true, these rows will be returned if they are
       not separately removed by a filter.
      
       Regardless of this `keep_empty_rows` setting, only data recorded by the
       Google Analytics property can be displayed in a report.
      
       For example if a property never logs a `purchase` event, then a query for
       the `eventName` dimension and  `eventCount` metric will not have a row
       containing eventName: "purchase" and eventCount: 0.
       
      bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasSamplingLevel

      public boolean hasSamplingLevel()
       Optional. The report's sampling level.
       
      optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSamplingLevel in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      Whether the samplingLevel field is set.
    • getSamplingLevelValue

      public int getSamplingLevelValue()
       Optional. The report's sampling level.
       
      optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSamplingLevelValue in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The enum numeric value on the wire for samplingLevel.
    • setSamplingLevelValue

      public ReportTask.ReportDefinition.Builder setSamplingLevelValue(int value)
       Optional. The report's sampling level.
       
      optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for samplingLevel to set.
      Returns:
      This builder for chaining.
    • getSamplingLevel

      public SamplingLevel getSamplingLevel()
       Optional. The report's sampling level.
       
      optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSamplingLevel in interface ReportTask.ReportDefinitionOrBuilder
      Returns:
      The samplingLevel.
    • setSamplingLevel

      public ReportTask.ReportDefinition.Builder setSamplingLevel(SamplingLevel value)
       Optional. The report's sampling level.
       
      optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The samplingLevel to set.
      Returns:
      This builder for chaining.
    • clearSamplingLevel

      public ReportTask.ReportDefinition.Builder clearSamplingLevel()
       Optional. The report's sampling level.
       
      optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.