Class RunPivotReportRequest.Builder (0.33.0)

public static final class RunPivotReportRequest.Builder extends GeneratedMessageV3.Builder<RunPivotReportRequest.Builder> implements RunPivotReportRequestOrBuilder

The request to generate a pivot report.

Protobuf type google.analytics.data.v1beta.RunPivotReportRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDateRanges(Iterable<? extends DateRange> values)

public RunPivotReportRequest.Builder addAllDateRanges(Iterable<? extends DateRange> values)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.DateRange>
Returns
TypeDescription
RunPivotReportRequest.Builder

addAllDimensions(Iterable<? extends Dimension> values)

public RunPivotReportRequest.Builder addAllDimensions(Iterable<? extends Dimension> values)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Dimension>
Returns
TypeDescription
RunPivotReportRequest.Builder

addAllMetrics(Iterable<? extends Metric> values)

public RunPivotReportRequest.Builder addAllMetrics(Iterable<? extends Metric> values)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Metric>
Returns
TypeDescription
RunPivotReportRequest.Builder

addAllPivots(Iterable<? extends Pivot> values)

public RunPivotReportRequest.Builder addAllPivots(Iterable<? extends Pivot> values)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Pivot>
Returns
TypeDescription
RunPivotReportRequest.Builder

addDateRanges(DateRange value)

public RunPivotReportRequest.Builder addDateRanges(DateRange value)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
valueDateRange
Returns
TypeDescription
RunPivotReportRequest.Builder

addDateRanges(DateRange.Builder builderForValue)

public RunPivotReportRequest.Builder addDateRanges(DateRange.Builder builderForValue)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
builderForValueDateRange.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addDateRanges(int index, DateRange value)

public RunPivotReportRequest.Builder addDateRanges(int index, DateRange value)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameters
NameDescription
indexint
valueDateRange
Returns
TypeDescription
RunPivotReportRequest.Builder

addDateRanges(int index, DateRange.Builder builderForValue)

public RunPivotReportRequest.Builder addDateRanges(int index, DateRange.Builder builderForValue)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameters
NameDescription
indexint
builderForValueDateRange.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addDateRangesBuilder()

public DateRange.Builder addDateRangesBuilder()

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Returns
TypeDescription
DateRange.Builder

addDateRangesBuilder(int index)

public DateRange.Builder addDateRangesBuilder(int index)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRange.Builder

addDimensions(Dimension value)

public RunPivotReportRequest.Builder addDimensions(Dimension value)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
valueDimension
Returns
TypeDescription
RunPivotReportRequest.Builder

addDimensions(Dimension.Builder builderForValue)

public RunPivotReportRequest.Builder addDimensions(Dimension.Builder builderForValue)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
builderForValueDimension.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addDimensions(int index, Dimension value)

public RunPivotReportRequest.Builder addDimensions(int index, Dimension value)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
valueDimension
Returns
TypeDescription
RunPivotReportRequest.Builder

addDimensions(int index, Dimension.Builder builderForValue)

public RunPivotReportRequest.Builder addDimensions(int index, Dimension.Builder builderForValue)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
builderForValueDimension.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addDimensionsBuilder()

public Dimension.Builder addDimensionsBuilder()

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Returns
TypeDescription
Dimension.Builder

addDimensionsBuilder(int index)

public Dimension.Builder addDimensionsBuilder(int index)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Dimension.Builder

addMetrics(Metric value)

public RunPivotReportRequest.Builder addMetrics(Metric value)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
valueMetric
Returns
TypeDescription
RunPivotReportRequest.Builder

addMetrics(Metric.Builder builderForValue)

public RunPivotReportRequest.Builder addMetrics(Metric.Builder builderForValue)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
builderForValueMetric.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addMetrics(int index, Metric value)

public RunPivotReportRequest.Builder addMetrics(int index, Metric value)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
valueMetric
Returns
TypeDescription
RunPivotReportRequest.Builder

addMetrics(int index, Metric.Builder builderForValue)

public RunPivotReportRequest.Builder addMetrics(int index, Metric.Builder builderForValue)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
builderForValueMetric.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addMetricsBuilder()

public Metric.Builder addMetricsBuilder()

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Returns
TypeDescription
Metric.Builder

addMetricsBuilder(int index)

public Metric.Builder addMetricsBuilder(int index)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Metric.Builder

addPivots(Pivot value)

public RunPivotReportRequest.Builder addPivots(Pivot value)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
valuePivot
Returns
TypeDescription
RunPivotReportRequest.Builder

addPivots(Pivot.Builder builderForValue)

public RunPivotReportRequest.Builder addPivots(Pivot.Builder builderForValue)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
builderForValuePivot.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addPivots(int index, Pivot value)

public RunPivotReportRequest.Builder addPivots(int index, Pivot value)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameters
NameDescription
indexint
valuePivot
Returns
TypeDescription
RunPivotReportRequest.Builder

addPivots(int index, Pivot.Builder builderForValue)

public RunPivotReportRequest.Builder addPivots(int index, Pivot.Builder builderForValue)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameters
NameDescription
indexint
builderForValuePivot.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

addPivotsBuilder()

public Pivot.Builder addPivotsBuilder()

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Returns
TypeDescription
Pivot.Builder

addPivotsBuilder(int index)

public Pivot.Builder addPivotsBuilder(int index)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Pivot.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunPivotReportRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

build()

public RunPivotReportRequest build()
Returns
TypeDescription
RunPivotReportRequest

buildPartial()

public RunPivotReportRequest buildPartial()
Returns
TypeDescription
RunPivotReportRequest

clear()

public RunPivotReportRequest.Builder clear()
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

clearCohortSpec()

public RunPivotReportRequest.Builder clearCohortSpec()

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 = 9;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearCurrencyCode()

public RunPivotReportRequest.Builder clearCurrencyCode()

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 = 8;

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

clearDateRanges()

public RunPivotReportRequest.Builder clearDateRanges()

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearDimensionFilter()

public RunPivotReportRequest.Builder clearDimensionFilter()

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearDimensions()

public RunPivotReportRequest.Builder clearDimensions()

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public RunPivotReportRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

clearKeepEmptyRows()

public RunPivotReportRequest.Builder clearKeepEmptyRows()

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.

bool keep_empty_rows = 10;

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

clearMetricFilter()

public RunPivotReportRequest.Builder clearMetricFilter()

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearMetrics()

public RunPivotReportRequest.Builder clearMetrics()

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RunPivotReportRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

clearPivots()

public RunPivotReportRequest.Builder clearPivots()

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Returns
TypeDescription
RunPivotReportRequest.Builder

clearProperty()

public RunPivotReportRequest.Builder clearProperty()

A Google Analytics GA4 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. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

clearReturnPropertyQuota()

public RunPivotReportRequest.Builder clearReturnPropertyQuota()

Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.

bool return_property_quota = 11;

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

clone()

public RunPivotReportRequest.Builder clone()
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

getCohortSpec()

public 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 = 9;

Returns
TypeDescription
CohortSpec

The cohortSpec.

getCohortSpecBuilder()

public CohortSpec.Builder getCohortSpecBuilder()

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 = 9;

Returns
TypeDescription
CohortSpec.Builder

getCohortSpecOrBuilder()

public 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 = 9;

Returns
TypeDescription
CohortSpecOrBuilder

getCurrencyCode()

public 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 = 8;

Returns
TypeDescription
String

The currencyCode.

getCurrencyCodeBytes()

public 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 = 8;

Returns
TypeDescription
ByteString

The bytes for currencyCode.

getDateRanges(int index)

public DateRange getDateRanges(int index)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRange

getDateRangesBuilder(int index)

public DateRange.Builder getDateRangesBuilder(int index)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRange.Builder

getDateRangesBuilderList()

public List<DateRange.Builder> getDateRangesBuilderList()

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Returns
TypeDescription
List<Builder>

getDateRangesCount()

public int getDateRangesCount()

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Returns
TypeDescription
int

getDateRangesList()

public List<DateRange> getDateRangesList()

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Returns
TypeDescription
List<DateRange>

getDateRangesOrBuilder(int index)

public DateRangeOrBuilder getDateRangesOrBuilder(int index)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRangeOrBuilder

getDateRangesOrBuilderList()

public List<? extends DateRangeOrBuilder> getDateRangesOrBuilderList()

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.DateRangeOrBuilder>

getDefaultInstanceForType()

public RunPivotReportRequest getDefaultInstanceForType()
Returns
TypeDescription
RunPivotReportRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionFilter()

public FilterExpression getDimensionFilter()

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Returns
TypeDescription
FilterExpression

The dimensionFilter.

getDimensionFilterBuilder()

public FilterExpression.Builder getDimensionFilterBuilder()

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Returns
TypeDescription
FilterExpression.Builder

getDimensionFilterOrBuilder()

public FilterExpressionOrBuilder getDimensionFilterOrBuilder()

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Returns
TypeDescription
FilterExpressionOrBuilder

getDimensions(int index)

public Dimension getDimensions(int index)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Dimension

getDimensionsBuilder(int index)

public Dimension.Builder getDimensionsBuilder(int index)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Dimension.Builder

getDimensionsBuilderList()

public List<Dimension.Builder> getDimensionsBuilderList()

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Returns
TypeDescription
List<Builder>

getDimensionsCount()

public int getDimensionsCount()

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Returns
TypeDescription
int

getDimensionsList()

public List<Dimension> getDimensionsList()

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Returns
TypeDescription
List<Dimension>

getDimensionsOrBuilder(int index)

public DimensionOrBuilder getDimensionsOrBuilder(int index)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionOrBuilder

getDimensionsOrBuilderList()

public List<? extends DimensionOrBuilder> getDimensionsOrBuilderList()

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.DimensionOrBuilder>

getKeepEmptyRows()

public 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.

bool keep_empty_rows = 10;

Returns
TypeDescription
boolean

The keepEmptyRows.

getMetricFilter()

public FilterExpression getMetricFilter()

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Returns
TypeDescription
FilterExpression

The metricFilter.

getMetricFilterBuilder()

public FilterExpression.Builder getMetricFilterBuilder()

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Returns
TypeDescription
FilterExpression.Builder

getMetricFilterOrBuilder()

public FilterExpressionOrBuilder getMetricFilterOrBuilder()

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Returns
TypeDescription
FilterExpressionOrBuilder

getMetrics(int index)

public Metric getMetrics(int index)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Metric

getMetricsBuilder(int index)

public Metric.Builder getMetricsBuilder(int index)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Metric.Builder

getMetricsBuilderList()

public List<Metric.Builder> getMetricsBuilderList()

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Returns
TypeDescription
List<Builder>

getMetricsCount()

public int getMetricsCount()

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Returns
TypeDescription
int

getMetricsList()

public List<Metric> getMetricsList()

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Returns
TypeDescription
List<Metric>

getMetricsOrBuilder(int index)

public MetricOrBuilder getMetricsOrBuilder(int index)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricOrBuilder

getMetricsOrBuilderList()

public List<? extends MetricOrBuilder> getMetricsOrBuilderList()

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.MetricOrBuilder>

getPivots(int index)

public Pivot getPivots(int index)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Pivot

getPivotsBuilder(int index)

public Pivot.Builder getPivotsBuilder(int index)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Pivot.Builder

getPivotsBuilderList()

public List<Pivot.Builder> getPivotsBuilderList()

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Returns
TypeDescription
List<Builder>

getPivotsCount()

public int getPivotsCount()

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Returns
TypeDescription
int

getPivotsList()

public List<Pivot> getPivotsList()

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Returns
TypeDescription
List<Pivot>

getPivotsOrBuilder(int index)

public PivotOrBuilder getPivotsOrBuilder(int index)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
PivotOrBuilder

getPivotsOrBuilderList()

public List<? extends PivotOrBuilder> getPivotsOrBuilderList()

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.PivotOrBuilder>

getProperty()

public String getProperty()

A Google Analytics GA4 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. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Returns
TypeDescription
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

A Google Analytics GA4 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. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Returns
TypeDescription
ByteString

The bytes for property.

getReturnPropertyQuota()

public boolean getReturnPropertyQuota()

Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.

bool return_property_quota = 11;

Returns
TypeDescription
boolean

The returnPropertyQuota.

hasCohortSpec()

public 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 = 9;

Returns
TypeDescription
boolean

Whether the cohortSpec field is set.

hasDimensionFilter()

public boolean hasDimensionFilter()

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Returns
TypeDescription
boolean

Whether the dimensionFilter field is set.

hasMetricFilter()

public boolean hasMetricFilter()

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Returns
TypeDescription
boolean

Whether the metricFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCohortSpec(CohortSpec value)

public RunPivotReportRequest.Builder mergeCohortSpec(CohortSpec value)

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 = 9;

Parameter
NameDescription
valueCohortSpec
Returns
TypeDescription
RunPivotReportRequest.Builder

mergeDimensionFilter(FilterExpression value)

public RunPivotReportRequest.Builder mergeDimensionFilter(FilterExpression value)

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
RunPivotReportRequest.Builder

mergeFrom(RunPivotReportRequest other)

public RunPivotReportRequest.Builder mergeFrom(RunPivotReportRequest other)
Parameter
NameDescription
otherRunPivotReportRequest
Returns
TypeDescription
RunPivotReportRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunPivotReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RunPivotReportRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

mergeMetricFilter(FilterExpression value)

public RunPivotReportRequest.Builder mergeMetricFilter(FilterExpression value)

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
RunPivotReportRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunPivotReportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

removeDateRanges(int index)

public RunPivotReportRequest.Builder removeDateRanges(int index)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest.Builder

removeDimensions(int index)

public RunPivotReportRequest.Builder removeDimensions(int index)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest.Builder

removeMetrics(int index)

public RunPivotReportRequest.Builder removeMetrics(int index)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest.Builder

removePivots(int index)

public RunPivotReportRequest.Builder removePivots(int index)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest.Builder

setCohortSpec(CohortSpec value)

public RunPivotReportRequest.Builder setCohortSpec(CohortSpec value)

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 = 9;

Parameter
NameDescription
valueCohortSpec
Returns
TypeDescription
RunPivotReportRequest.Builder

setCohortSpec(CohortSpec.Builder builderForValue)

public RunPivotReportRequest.Builder setCohortSpec(CohortSpec.Builder builderForValue)

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 = 9;

Parameter
NameDescription
builderForValueCohortSpec.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setCurrencyCode(String value)

public RunPivotReportRequest.Builder setCurrencyCode(String value)

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 = 8;

Parameter
NameDescription
valueString

The currencyCode to set.

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

setCurrencyCodeBytes(ByteString value)

public RunPivotReportRequest.Builder setCurrencyCodeBytes(ByteString value)

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 = 8;

Parameter
NameDescription
valueByteString

The bytes for currencyCode to set.

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

setDateRanges(int index, DateRange value)

public RunPivotReportRequest.Builder setDateRanges(int index, DateRange value)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameters
NameDescription
indexint
valueDateRange
Returns
TypeDescription
RunPivotReportRequest.Builder

setDateRanges(int index, DateRange.Builder builderForValue)

public RunPivotReportRequest.Builder setDateRanges(int index, DateRange.Builder builderForValue)

The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name "dateRange" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this dateRanges must be unspecified.

repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;

Parameters
NameDescription
indexint
builderForValueDateRange.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setDimensionFilter(FilterExpression value)

public RunPivotReportRequest.Builder setDimensionFilter(FilterExpression value)

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
RunPivotReportRequest.Builder

setDimensionFilter(FilterExpression.Builder builderForValue)

public RunPivotReportRequest.Builder setDimensionFilter(FilterExpression.Builder builderForValue)

The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 6;

Parameter
NameDescription
builderForValueFilterExpression.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setDimensions(int index, Dimension value)

public RunPivotReportRequest.Builder setDimensions(int index, Dimension value)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
valueDimension
Returns
TypeDescription
RunPivotReportRequest.Builder

setDimensions(int index, Dimension.Builder builderForValue)

public RunPivotReportRequest.Builder setDimensions(int index, Dimension.Builder builderForValue)

The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
builderForValueDimension.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RunPivotReportRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

setKeepEmptyRows(boolean value)

public RunPivotReportRequest.Builder setKeepEmptyRows(boolean value)

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.

bool keep_empty_rows = 10;

Parameter
NameDescription
valueboolean

The keepEmptyRows to set.

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

setMetricFilter(FilterExpression value)

public RunPivotReportRequest.Builder setMetricFilter(FilterExpression value)

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
RunPivotReportRequest.Builder

setMetricFilter(FilterExpression.Builder builderForValue)

public RunPivotReportRequest.Builder setMetricFilter(FilterExpression.Builder builderForValue)

The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter.

.google.analytics.data.v1beta.FilterExpression metric_filter = 7;

Parameter
NameDescription
builderForValueFilterExpression.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setMetrics(int index, Metric value)

public RunPivotReportRequest.Builder setMetrics(int index, Metric value)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
valueMetric
Returns
TypeDescription
RunPivotReportRequest.Builder

setMetrics(int index, Metric.Builder builderForValue)

public RunPivotReportRequest.Builder setMetrics(int index, Metric.Builder builderForValue)

The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
builderForValueMetric.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setPivots(int index, Pivot value)

public RunPivotReportRequest.Builder setPivots(int index, Pivot value)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameters
NameDescription
indexint
valuePivot
Returns
TypeDescription
RunPivotReportRequest.Builder

setPivots(int index, Pivot.Builder builderForValue)

public RunPivotReportRequest.Builder setPivots(int index, Pivot.Builder builderForValue)

Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.

repeated .google.analytics.data.v1beta.Pivot pivots = 5;

Parameters
NameDescription
indexint
builderForValuePivot.Builder
Returns
TypeDescription
RunPivotReportRequest.Builder

setProperty(String value)

public RunPivotReportRequest.Builder setProperty(String value)

A Google Analytics GA4 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. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Parameter
NameDescription
valueString

The property to set.

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public RunPivotReportRequest.Builder setPropertyBytes(ByteString value)

A Google Analytics GA4 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. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Parameter
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RunPivotReportRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides

setReturnPropertyQuota(boolean value)

public RunPivotReportRequest.Builder setReturnPropertyQuota(boolean value)

Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.

bool return_property_quota = 11;

Parameter
NameDescription
valueboolean

The returnPropertyQuota to set.

Returns
TypeDescription
RunPivotReportRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RunPivotReportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunPivotReportRequest.Builder
Overrides