Class QueryReportTaskResponse.Builder (0.63.0)

public static final class QueryReportTaskResponse.Builder extends GeneratedMessageV3.Builder<QueryReportTaskResponse.Builder> implements QueryReportTaskResponseOrBuilder

The report content corresponding to a report task.

Protobuf type google.analytics.data.v1alpha.QueryReportTaskResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDimensionHeaders(Iterable<? extends DimensionHeader> values)

public QueryReportTaskResponse.Builder addAllDimensionHeaders(Iterable<? extends DimensionHeader> values)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.DimensionHeader>
Returns
Type Description
QueryReportTaskResponse.Builder

addAllMaximums(Iterable<? extends Row> values)

public QueryReportTaskResponse.Builder addAllMaximums(Iterable<? extends Row> values)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.Row>
Returns
Type Description
QueryReportTaskResponse.Builder

addAllMetricHeaders(Iterable<? extends MetricHeader> values)

public QueryReportTaskResponse.Builder addAllMetricHeaders(Iterable<? extends MetricHeader> values)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.MetricHeader>
Returns
Type Description
QueryReportTaskResponse.Builder

addAllMinimums(Iterable<? extends Row> values)

public QueryReportTaskResponse.Builder addAllMinimums(Iterable<? extends Row> values)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.Row>
Returns
Type Description
QueryReportTaskResponse.Builder

addAllRows(Iterable<? extends Row> values)

public QueryReportTaskResponse.Builder addAllRows(Iterable<? extends Row> values)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.Row>
Returns
Type Description
QueryReportTaskResponse.Builder

addAllTotals(Iterable<? extends Row> values)

public QueryReportTaskResponse.Builder addAllTotals(Iterable<? extends Row> values)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.Row>
Returns
Type Description
QueryReportTaskResponse.Builder

addDimensionHeaders(DimensionHeader value)

public QueryReportTaskResponse.Builder addDimensionHeaders(DimensionHeader value)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
value DimensionHeader
Returns
Type Description
QueryReportTaskResponse.Builder

addDimensionHeaders(DimensionHeader.Builder builderForValue)

public QueryReportTaskResponse.Builder addDimensionHeaders(DimensionHeader.Builder builderForValue)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
builderForValue DimensionHeader.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addDimensionHeaders(int index, DimensionHeader value)

public QueryReportTaskResponse.Builder addDimensionHeaders(int index, DimensionHeader value)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameters
Name Description
index int
value DimensionHeader
Returns
Type Description
QueryReportTaskResponse.Builder

addDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

public QueryReportTaskResponse.Builder addDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameters
Name Description
index int
builderForValue DimensionHeader.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addDimensionHeadersBuilder()

public DimensionHeader.Builder addDimensionHeadersBuilder()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
DimensionHeader.Builder

addDimensionHeadersBuilder(int index)

public DimensionHeader.Builder addDimensionHeadersBuilder(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeader.Builder

addMaximums(Row value)

public QueryReportTaskResponse.Builder addMaximums(Row value)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addMaximums(Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addMaximums(Row.Builder builderForValue)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addMaximums(int index, Row value)

public QueryReportTaskResponse.Builder addMaximums(int index, Row value)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addMaximums(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addMaximums(int index, Row.Builder builderForValue)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addMaximumsBuilder()

public Row.Builder addMaximumsBuilder()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
Row.Builder

addMaximumsBuilder(int index)

public Row.Builder addMaximumsBuilder(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

addMetricHeaders(MetricHeader value)

public QueryReportTaskResponse.Builder addMetricHeaders(MetricHeader value)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
value MetricHeader
Returns
Type Description
QueryReportTaskResponse.Builder

addMetricHeaders(MetricHeader.Builder builderForValue)

public QueryReportTaskResponse.Builder addMetricHeaders(MetricHeader.Builder builderForValue)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
builderForValue MetricHeader.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addMetricHeaders(int index, MetricHeader value)

public QueryReportTaskResponse.Builder addMetricHeaders(int index, MetricHeader value)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameters
Name Description
index int
value MetricHeader
Returns
Type Description
QueryReportTaskResponse.Builder

addMetricHeaders(int index, MetricHeader.Builder builderForValue)

public QueryReportTaskResponse.Builder addMetricHeaders(int index, MetricHeader.Builder builderForValue)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameters
Name Description
index int
builderForValue MetricHeader.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addMetricHeadersBuilder()

public MetricHeader.Builder addMetricHeadersBuilder()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
MetricHeader.Builder

addMetricHeadersBuilder(int index)

public MetricHeader.Builder addMetricHeadersBuilder(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeader.Builder

addMinimums(Row value)

public QueryReportTaskResponse.Builder addMinimums(Row value)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addMinimums(Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addMinimums(Row.Builder builderForValue)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addMinimums(int index, Row value)

public QueryReportTaskResponse.Builder addMinimums(int index, Row value)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addMinimums(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addMinimums(int index, Row.Builder builderForValue)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addMinimumsBuilder()

public Row.Builder addMinimumsBuilder()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
Row.Builder

addMinimumsBuilder(int index)

public Row.Builder addMinimumsBuilder(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryReportTaskResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

addRows(Row value)

public QueryReportTaskResponse.Builder addRows(Row value)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addRows(Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addRows(Row.Builder builderForValue)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addRows(int index, Row value)

public QueryReportTaskResponse.Builder addRows(int index, Row value)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addRows(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addRows(int index, Row.Builder builderForValue)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addRowsBuilder()

public Row.Builder addRowsBuilder()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
Row.Builder

addRowsBuilder(int index)

public Row.Builder addRowsBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

addTotals(Row value)

public QueryReportTaskResponse.Builder addTotals(Row value)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addTotals(Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addTotals(Row.Builder builderForValue)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addTotals(int index, Row value)

public QueryReportTaskResponse.Builder addTotals(int index, Row value)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

addTotals(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder addTotals(int index, Row.Builder builderForValue)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

addTotalsBuilder()

public Row.Builder addTotalsBuilder()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
Row.Builder

addTotalsBuilder(int index)

public Row.Builder addTotalsBuilder(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

build()

public QueryReportTaskResponse build()
Returns
Type Description
QueryReportTaskResponse

buildPartial()

public QueryReportTaskResponse buildPartial()
Returns
Type Description
QueryReportTaskResponse

clear()

public QueryReportTaskResponse.Builder clear()
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

clearDimensionHeaders()

public QueryReportTaskResponse.Builder clearDimensionHeaders()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
QueryReportTaskResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryReportTaskResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

clearMaximums()

public QueryReportTaskResponse.Builder clearMaximums()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
QueryReportTaskResponse.Builder

clearMetadata()

public QueryReportTaskResponse.Builder clearMetadata()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
QueryReportTaskResponse.Builder

clearMetricHeaders()

public QueryReportTaskResponse.Builder clearMetricHeaders()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
QueryReportTaskResponse.Builder

clearMinimums()

public QueryReportTaskResponse.Builder clearMinimums()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
QueryReportTaskResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryReportTaskResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

clearRowCount()

public QueryReportTaskResponse.Builder clearRowCount()

The total number of rows in the query result.

int32 row_count = 7;

Returns
Type Description
QueryReportTaskResponse.Builder

This builder for chaining.

clearRows()

public QueryReportTaskResponse.Builder clearRows()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
QueryReportTaskResponse.Builder

clearTotals()

public QueryReportTaskResponse.Builder clearTotals()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
QueryReportTaskResponse.Builder

clone()

public QueryReportTaskResponse.Builder clone()
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

getDefaultInstanceForType()

public QueryReportTaskResponse getDefaultInstanceForType()
Returns
Type Description
QueryReportTaskResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDimensionHeaders(int index)

public DimensionHeader getDimensionHeaders(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeader

getDimensionHeadersBuilder(int index)

public DimensionHeader.Builder getDimensionHeadersBuilder(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeader.Builder

getDimensionHeadersBuilderList()

public List<DimensionHeader.Builder> getDimensionHeadersBuilderList()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
List<Builder>

getDimensionHeadersCount()

public int getDimensionHeadersCount()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
int

getDimensionHeadersList()

public List<DimensionHeader> getDimensionHeadersList()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
List<DimensionHeader>

getDimensionHeadersOrBuilder(int index)

public DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeaderOrBuilder

getDimensionHeadersOrBuilderList()

public List<? extends DimensionHeaderOrBuilder> getDimensionHeadersOrBuilderList()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>

getMaximums(int index)

public Row getMaximums(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
Row

getMaximumsBuilder(int index)

public Row.Builder getMaximumsBuilder(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

getMaximumsBuilderList()

public List<Row.Builder> getMaximumsBuilderList()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
List<Builder>

getMaximumsCount()

public int getMaximumsCount()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
int

getMaximumsList()

public List<Row> getMaximumsList()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
List<Row>

getMaximumsOrBuilder(int index)

public RowOrBuilder getMaximumsOrBuilder(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getMaximumsOrBuilderList()

public List<? extends RowOrBuilder> getMaximumsOrBuilderList()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.RowOrBuilder>

getMetadata()

public ResponseMetaData getMetadata()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
ResponseMetaData

The metadata.

getMetadataBuilder()

public ResponseMetaData.Builder getMetadataBuilder()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
ResponseMetaData.Builder

getMetadataOrBuilder()

public ResponseMetaDataOrBuilder getMetadataOrBuilder()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
ResponseMetaDataOrBuilder

getMetricHeaders(int index)

public MetricHeader getMetricHeaders(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeader

getMetricHeadersBuilder(int index)

public MetricHeader.Builder getMetricHeadersBuilder(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeader.Builder

getMetricHeadersBuilderList()

public List<MetricHeader.Builder> getMetricHeadersBuilderList()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
List<Builder>

getMetricHeadersCount()

public int getMetricHeadersCount()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
int

getMetricHeadersList()

public List<MetricHeader> getMetricHeadersList()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
List<MetricHeader>

getMetricHeadersOrBuilder(int index)

public MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeaderOrBuilder

getMetricHeadersOrBuilderList()

public List<? extends MetricHeaderOrBuilder> getMetricHeadersOrBuilderList()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>

getMinimums(int index)

public Row getMinimums(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
Row

getMinimumsBuilder(int index)

public Row.Builder getMinimumsBuilder(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

getMinimumsBuilderList()

public List<Row.Builder> getMinimumsBuilderList()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
List<Builder>

getMinimumsCount()

public int getMinimumsCount()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
int

getMinimumsList()

public List<Row> getMinimumsList()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
List<Row>

getMinimumsOrBuilder(int index)

public RowOrBuilder getMinimumsOrBuilder(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getMinimumsOrBuilderList()

public List<? extends RowOrBuilder> getMinimumsOrBuilderList()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.RowOrBuilder>

getRowCount()

public int getRowCount()

The total number of rows in the query result.

int32 row_count = 7;

Returns
Type Description
int

The rowCount.

getRows(int index)

public Row getRows(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
Row

getRowsBuilder(int index)

public Row.Builder getRowsBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

getRowsBuilderList()

public List<Row.Builder> getRowsBuilderList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
List<Builder>

getRowsCount()

public int getRowsCount()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
int

getRowsList()

public List<Row> getRowsList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
List<Row>

getRowsOrBuilder(int index)

public RowOrBuilder getRowsOrBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getRowsOrBuilderList()

public List<? extends RowOrBuilder> getRowsOrBuilderList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.RowOrBuilder>

getTotals(int index)

public Row getTotals(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
Row

getTotalsBuilder(int index)

public Row.Builder getTotalsBuilder(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

getTotalsBuilderList()

public List<Row.Builder> getTotalsBuilderList()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
List<Builder>

getTotalsCount()

public int getTotalsCount()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
int

getTotalsList()

public List<Row> getTotalsList()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
List<Row>

getTotalsOrBuilder(int index)

public RowOrBuilder getTotalsOrBuilder(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getTotalsOrBuilderList()

public List<? extends RowOrBuilder> getTotalsOrBuilderList()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.RowOrBuilder>

hasMetadata()

public boolean hasMetadata()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
boolean

Whether the metadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryReportTaskResponse other)

public QueryReportTaskResponse.Builder mergeFrom(QueryReportTaskResponse other)
Parameter
Name Description
other QueryReportTaskResponse
Returns
Type Description
QueryReportTaskResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryReportTaskResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryReportTaskResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

mergeMetadata(ResponseMetaData value)

public QueryReportTaskResponse.Builder mergeMetadata(ResponseMetaData value)

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Parameter
Name Description
value ResponseMetaData
Returns
Type Description
QueryReportTaskResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryReportTaskResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

removeDimensionHeaders(int index)

public QueryReportTaskResponse.Builder removeDimensionHeaders(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryReportTaskResponse.Builder

removeMaximums(int index)

public QueryReportTaskResponse.Builder removeMaximums(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
QueryReportTaskResponse.Builder

removeMetricHeaders(int index)

public QueryReportTaskResponse.Builder removeMetricHeaders(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
QueryReportTaskResponse.Builder

removeMinimums(int index)

public QueryReportTaskResponse.Builder removeMinimums(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
QueryReportTaskResponse.Builder

removeRows(int index)

public QueryReportTaskResponse.Builder removeRows(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
QueryReportTaskResponse.Builder

removeTotals(int index)

public QueryReportTaskResponse.Builder removeTotals(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
QueryReportTaskResponse.Builder

setDimensionHeaders(int index, DimensionHeader value)

public QueryReportTaskResponse.Builder setDimensionHeaders(int index, DimensionHeader value)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameters
Name Description
index int
value DimensionHeader
Returns
Type Description
QueryReportTaskResponse.Builder

setDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

public QueryReportTaskResponse.Builder setDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameters
Name Description
index int
builderForValue DimensionHeader.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryReportTaskResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

setMaximums(int index, Row value)

public QueryReportTaskResponse.Builder setMaximums(int index, Row value)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

setMaximums(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder setMaximums(int index, Row.Builder builderForValue)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

setMetadata(ResponseMetaData value)

public QueryReportTaskResponse.Builder setMetadata(ResponseMetaData value)

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Parameter
Name Description
value ResponseMetaData
Returns
Type Description
QueryReportTaskResponse.Builder

setMetadata(ResponseMetaData.Builder builderForValue)

public QueryReportTaskResponse.Builder setMetadata(ResponseMetaData.Builder builderForValue)

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Parameter
Name Description
builderForValue ResponseMetaData.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

setMetricHeaders(int index, MetricHeader value)

public QueryReportTaskResponse.Builder setMetricHeaders(int index, MetricHeader value)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameters
Name Description
index int
value MetricHeader
Returns
Type Description
QueryReportTaskResponse.Builder

setMetricHeaders(int index, MetricHeader.Builder builderForValue)

public QueryReportTaskResponse.Builder setMetricHeaders(int index, MetricHeader.Builder builderForValue)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameters
Name Description
index int
builderForValue MetricHeader.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

setMinimums(int index, Row value)

public QueryReportTaskResponse.Builder setMinimums(int index, Row value)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

setMinimums(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder setMinimums(int index, Row.Builder builderForValue)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

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

public QueryReportTaskResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

setRowCount(int value)

public QueryReportTaskResponse.Builder setRowCount(int value)

The total number of rows in the query result.

int32 row_count = 7;

Parameter
Name Description
value int

The rowCount to set.

Returns
Type Description
QueryReportTaskResponse.Builder

This builder for chaining.

setRows(int index, Row value)

public QueryReportTaskResponse.Builder setRows(int index, Row value)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

setRows(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder setRows(int index, Row.Builder builderForValue)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

setTotals(int index, Row value)

public QueryReportTaskResponse.Builder setTotals(int index, Row value)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameters
Name Description
index int
value Row
Returns
Type Description
QueryReportTaskResponse.Builder

setTotals(int index, Row.Builder builderForValue)

public QueryReportTaskResponse.Builder setTotals(int index, Row.Builder builderForValue)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
QueryReportTaskResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryReportTaskResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides