Package com.google.analytics.data.v1beta
Interface RunReportRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunReportRequest,RunReportRequest.Builder
@Generated
public interface RunReportRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCohort group associated with this request.Cohort group associated with this request.getComparisons(int index) Optional.intOptional.Optional.getComparisonsOrBuilder(int index) Optional.List<? extends ComparisonOrBuilder>Optional.A currency code in ISO4217 format, such as "AED", "USD", "JPY".com.google.protobuf.ByteStringA currency code in ISO4217 format, such as "AED", "USD", "JPY".getDateRanges(int index) Date ranges of data to read.intDate ranges of data to read.Date ranges of data to read.getDateRangesOrBuilder(int index) Date ranges of data to read.List<? extends DateRangeOrBuilder>Date ranges of data to read.Dimension filters let you ask for only specific dimension values in the report.Dimension filters let you ask for only specific dimension values in the report.getDimensions(int index) The dimensions requested and displayed.intThe dimensions requested and displayed.The dimensions requested and displayed.getDimensionsOrBuilder(int index) The dimensions requested and displayed.List<? extends DimensionOrBuilder>The dimensions requested and displayed.booleanIf false or unspecified, each row with all metrics equal to 0 will not be returned.longgetLimit()The number of rows to return.getMetricAggregations(int index) Aggregation of metrics.intAggregation of metrics.Aggregation of metrics.intgetMetricAggregationsValue(int index) Aggregation of metrics.Aggregation of metrics.The filter clause of metrics.The filter clause of metrics.getMetrics(int index) The metrics requested and displayed.intThe metrics requested and displayed.The metrics requested and displayed.getMetricsOrBuilder(int index) The metrics requested and displayed.List<? extends MetricOrBuilder>The metrics requested and displayed.longThe row count of the start row.getOrderBys(int index) Specifies how rows are ordered in the response.intSpecifies how rows are ordered in the response.Specifies how rows are ordered in the response.getOrderBysOrBuilder(int index) Specifies how rows are ordered in the response.List<? extends OrderByOrBuilder>Specifies how rows are ordered in the response.A Google Analytics property identifier whose events are tracked.com.google.protobuf.ByteStringA Google Analytics property identifier whose events are tracked.booleanToggles whether to return the current state of this Google Analytics property's quota.booleanCohort group associated with this request.booleanDimension filters let you ask for only specific dimension values in the report.booleanThe filter clause of metrics.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProperty
String getProperty()A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Within a batch request, this property should either be unspecified or consistent with the batch-level property. Example: properties/1234
string property = 1;- Returns:
- The property.
-
getPropertyBytes
com.google.protobuf.ByteString getPropertyBytes()A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Within a batch request, this property should either be unspecified or consistent with the batch-level property. Example: properties/1234
string property = 1;- Returns:
- The bytes for property.
-
getDimensionsList
The dimensions requested and displayed.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getDimensions
The dimensions requested and displayed.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getDimensionsCount
int getDimensionsCount()The dimensions requested and displayed.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getDimensionsOrBuilderList
List<? extends DimensionOrBuilder> getDimensionsOrBuilderList()The dimensions requested and displayed.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getDimensionsOrBuilder
The dimensions requested and displayed.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getMetricsList
The metrics requested and displayed.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getMetrics
The metrics requested and displayed.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getMetricsCount
int getMetricsCount()The metrics requested and displayed.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getMetricsOrBuilderList
List<? extends MetricOrBuilder> getMetricsOrBuilderList()The metrics requested and displayed.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getMetricsOrBuilder
The metrics requested and displayed.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getDateRangesList
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.v1beta.DateRange date_ranges = 4; -
getDateRanges
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.v1beta.DateRange date_ranges = 4; -
getDateRangesCount
int getDateRangesCount()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.v1beta.DateRange date_ranges = 4; -
getDateRangesOrBuilderList
List<? extends DateRangeOrBuilder> getDateRangesOrBuilderList()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.v1beta.DateRange date_ranges = 4; -
getDateRangesOrBuilder
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.v1beta.DateRange date_ranges = 4; -
hasDimensionFilter
boolean hasDimensionFilter()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.v1beta.FilterExpression dimension_filter = 5;- Returns:
- Whether the dimensionFilter field is set.
-
getDimensionFilter
FilterExpression getDimensionFilter()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.v1beta.FilterExpression dimension_filter = 5;- Returns:
- The dimensionFilter.
-
getDimensionFilterOrBuilder
FilterExpressionOrBuilder getDimensionFilterOrBuilder()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.v1beta.FilterExpression dimension_filter = 5; -
hasMetricFilter
boolean hasMetricFilter()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.v1beta.FilterExpression metric_filter = 6;- Returns:
- Whether the metricFilter field is set.
-
getMetricFilter
FilterExpression getMetricFilter()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.v1beta.FilterExpression metric_filter = 6;- Returns:
- The metricFilter.
-
getMetricFilterOrBuilder
FilterExpressionOrBuilder getMetricFilterOrBuilder()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.v1beta.FilterExpression metric_filter = 6; -
getOffset
long getOffset()The row count of the start row. 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 = 7;- Returns:
- The offset.
-
getLimit
long getLimit()The number of rows to return. 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. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
int64 limit = 8;- Returns:
- The limit.
-
getMetricAggregationsList
List<MetricAggregation> getMetricAggregationsList()Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)". Aggregates including both comparisons and multiple date ranges will be aggregated based on the date ranges.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9;- Returns:
- A list containing the metricAggregations.
-
getMetricAggregationsCount
int getMetricAggregationsCount()Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)". Aggregates including both comparisons and multiple date ranges will be aggregated based on the date ranges.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9;- Returns:
- The count of metricAggregations.
-
getMetricAggregations
Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)". Aggregates including both comparisons and multiple date ranges will be aggregated based on the date ranges.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9;- Parameters:
index- The index of the element to return.- Returns:
- The metricAggregations at the given index.
-
getMetricAggregationsValueList
Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)". Aggregates including both comparisons and multiple date ranges will be aggregated based on the date ranges.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9;- Returns:
- A list containing the enum numeric values on the wire for metricAggregations.
-
getMetricAggregationsValue
int getMetricAggregationsValue(int index) Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)". Aggregates including both comparisons and multiple date ranges will be aggregated based on the date ranges.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of metricAggregations at the given index.
-
getOrderBysList
Specifies how rows are ordered in the response. Requests including both comparisons and multiple date ranges will have order bys applied on the comparisons.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; -
getOrderBys
Specifies how rows are ordered in the response. Requests including both comparisons and multiple date ranges will have order bys applied on the comparisons.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; -
getOrderBysCount
int getOrderBysCount()Specifies how rows are ordered in the response. Requests including both comparisons and multiple date ranges will have order bys applied on the comparisons.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; -
getOrderBysOrBuilderList
List<? extends OrderByOrBuilder> getOrderBysOrBuilderList()Specifies how rows are ordered in the response. Requests including both comparisons and multiple date ranges will have order bys applied on the comparisons.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; -
getOrderBysOrBuilder
Specifies how rows are ordered in the response. Requests including both comparisons and multiple date ranges will have order bys applied on the comparisons.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; -
getCurrencyCode
String getCurrencyCode()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;- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
com.google.protobuf.ByteString getCurrencyCodeBytes()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;- Returns:
- The bytes for currencyCode.
-
hasCohortSpec
boolean hasCohortSpec()Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
.google.analytics.data.v1beta.CohortSpec cohort_spec = 12;- Returns:
- Whether the cohortSpec field is set.
-
getCohortSpec
CohortSpec getCohortSpec()Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
.google.analytics.data.v1beta.CohortSpec cohort_spec = 12;- Returns:
- The cohortSpec.
-
getCohortSpecOrBuilder
CohortSpecOrBuilder getCohortSpecOrBuilder()Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
.google.analytics.data.v1beta.CohortSpec cohort_spec = 12; -
getKeepEmptyRows
boolean getKeepEmptyRows()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 eventName: "purchase" and eventCount: 0.
bool keep_empty_rows = 13;- Returns:
- The keepEmptyRows.
-
getReturnPropertyQuota
boolean getReturnPropertyQuota()Toggles whether to return the current state of this Google Analytics property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).
bool return_property_quota = 14;- Returns:
- The returnPropertyQuota.
-
getComparisonsList
List<Comparison> getComparisonsList()Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.
repeated .google.analytics.data.v1beta.Comparison comparisons = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getComparisons
Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.
repeated .google.analytics.data.v1beta.Comparison comparisons = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getComparisonsCount
int getComparisonsCount()Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.
repeated .google.analytics.data.v1beta.Comparison comparisons = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getComparisonsOrBuilderList
List<? extends ComparisonOrBuilder> getComparisonsOrBuilderList()Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.
repeated .google.analytics.data.v1beta.Comparison comparisons = 15 [(.google.api.field_behavior) = OPTIONAL]; -
getComparisonsOrBuilder
Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.
repeated .google.analytics.data.v1beta.Comparison comparisons = 15 [(.google.api.field_behavior) = OPTIONAL];
-