Class RunReportResponse.Builder (0.56.0)

public static final class RunReportResponse.Builder extends GeneratedMessageV3.Builder<RunReportResponse.Builder> implements RunReportResponseOrBuilder

The response report table corresponding to a request.

Protobuf type google.analytics.data.v1beta.RunReportResponse

Static Methods

getDescriptor()

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

Methods

addAllDimensionHeaders(Iterable<? extends DimensionHeader> values)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

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

addAllMaximums(Iterable<? extends Row> values)

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

If requested, the maximum values of metrics.

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

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

addAllMetricHeaders(Iterable<? extends MetricHeader> values)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

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

addAllMinimums(Iterable<? extends Row> values)

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

If requested, the minimum values of metrics.

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

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

addAllRows(Iterable<? extends Row> values)

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

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

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

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

addAllTotals(Iterable<? extends Row> values)

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

If requested, the totaled values of metrics.

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

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

addDimensionHeaders(DimensionHeader value)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

Parameter
Name Description
value DimensionHeader
Returns
Type Description
RunReportResponse.Builder

addDimensionHeaders(DimensionHeader.Builder builderForValue)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

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

addDimensionHeaders(int index, DimensionHeader value)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

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

addDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

Parameters
Name Description
index int
builderForValue DimensionHeader.Builder
Returns
Type Description
RunReportResponse.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.v1beta.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.v1beta.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeader.Builder

addMaximums(Row value)

public RunReportResponse.Builder addMaximums(Row value)

If requested, the maximum values of metrics.

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

Parameter
Name Description
value Row
Returns
Type Description
RunReportResponse.Builder

addMaximums(Row.Builder builderForValue)

public RunReportResponse.Builder addMaximums(Row.Builder builderForValue)

If requested, the maximum values of metrics.

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

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

addMaximums(int index, Row value)

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

If requested, the maximum values of metrics.

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

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

addMaximums(int index, Row.Builder builderForValue)

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

If requested, the maximum values of metrics.

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

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

addMaximumsBuilder()

public Row.Builder addMaximumsBuilder()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

addMetricHeaders(MetricHeader value)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

Parameter
Name Description
value MetricHeader
Returns
Type Description
RunReportResponse.Builder

addMetricHeaders(MetricHeader.Builder builderForValue)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

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

addMetricHeaders(int index, MetricHeader value)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

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

addMetricHeaders(int index, MetricHeader.Builder builderForValue)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

Parameters
Name Description
index int
builderForValue MetricHeader.Builder
Returns
Type Description
RunReportResponse.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.v1beta.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.v1beta.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeader.Builder

addMinimums(Row value)

public RunReportResponse.Builder addMinimums(Row value)

If requested, the minimum values of metrics.

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

Parameter
Name Description
value Row
Returns
Type Description
RunReportResponse.Builder

addMinimums(Row.Builder builderForValue)

public RunReportResponse.Builder addMinimums(Row.Builder builderForValue)

If requested, the minimum values of metrics.

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

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

addMinimums(int index, Row value)

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

If requested, the minimum values of metrics.

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

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

addMinimums(int index, Row.Builder builderForValue)

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

If requested, the minimum values of metrics.

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

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

addMinimumsBuilder()

public Row.Builder addMinimumsBuilder()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRows(Row value)

public RunReportResponse.Builder addRows(Row value)

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

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

Parameter
Name Description
value Row
Returns
Type Description
RunReportResponse.Builder

addRows(Row.Builder builderForValue)

public RunReportResponse.Builder addRows(Row.Builder builderForValue)

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

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

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

addRows(int index, Row value)

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

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

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

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

addRows(int index, Row.Builder builderForValue)

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

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

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

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

addRowsBuilder()

public Row.Builder addRowsBuilder()

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

repeated .google.analytics.data.v1beta.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.v1beta.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

addTotals(Row value)

public RunReportResponse.Builder addTotals(Row value)

If requested, the totaled values of metrics.

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

Parameter
Name Description
value Row
Returns
Type Description
RunReportResponse.Builder

addTotals(Row.Builder builderForValue)

public RunReportResponse.Builder addTotals(Row.Builder builderForValue)

If requested, the totaled values of metrics.

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

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

addTotals(int index, Row value)

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

If requested, the totaled values of metrics.

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

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

addTotals(int index, Row.Builder builderForValue)

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

If requested, the totaled values of metrics.

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

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

addTotalsBuilder()

public Row.Builder addTotalsBuilder()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

build()

public RunReportResponse build()
Returns
Type Description
RunReportResponse

buildPartial()

public RunReportResponse buildPartial()
Returns
Type Description
RunReportResponse

clear()

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

clearDimensionHeaders()

public RunReportResponse.Builder clearDimensionHeaders()

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

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

Returns
Type Description
RunReportResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public RunReportResponse.Builder clearKind()

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runReport". Useful to distinguish between response types in JSON.

string kind = 10;

Returns
Type Description
RunReportResponse.Builder

This builder for chaining.

clearMaximums()

public RunReportResponse.Builder clearMaximums()

If requested, the maximum values of metrics.

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

Returns
Type Description
RunReportResponse.Builder

clearMetadata()

public RunReportResponse.Builder clearMetadata()

Metadata for the report.

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

Returns
Type Description
RunReportResponse.Builder

clearMetricHeaders()

public RunReportResponse.Builder clearMetricHeaders()

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

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

Returns
Type Description
RunReportResponse.Builder

clearMinimums()

public RunReportResponse.Builder clearMinimums()

If requested, the minimum values of metrics.

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

Returns
Type Description
RunReportResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPropertyQuota()

public RunReportResponse.Builder clearPropertyQuota()

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Returns
Type Description
RunReportResponse.Builder

clearRowCount()

public RunReportResponse.Builder clearRowCount()

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

int32 row_count = 7;

Returns
Type Description
RunReportResponse.Builder

This builder for chaining.

clearRows()

public RunReportResponse.Builder clearRows()

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

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

Returns
Type Description
RunReportResponse.Builder

clearTotals()

public RunReportResponse.Builder clearTotals()

If requested, the totaled values of metrics.

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

Returns
Type Description
RunReportResponse.Builder

clone()

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

getDefaultInstanceForType()

public RunReportResponse getDefaultInstanceForType()
Returns
Type Description
RunReportResponse

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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.DimensionHeader dimension_headers = 1;

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

getKind()

public String getKind()

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runReport". Useful to distinguish between response types in JSON.

string kind = 10;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runReport". Useful to distinguish between response types in JSON.

string kind = 10;

Returns
Type Description
ByteString

The bytes for kind.

getMaximums(int index)

public Row getMaximums(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.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.v1beta.Row maximums = 5;

Returns
Type Description
List<Builder>

getMaximumsCount()

public int getMaximumsCount()

If requested, the maximum values of metrics.

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

Returns
Type Description
int

getMaximumsList()

public List<Row> getMaximumsList()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.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.v1beta.Row maximums = 5;

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

getMetadata()

public ResponseMetaData getMetadata()

Metadata for the report.

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

Returns
Type Description
ResponseMetaData

The metadata.

getMetadataBuilder()

public ResponseMetaData.Builder getMetadataBuilder()

Metadata for the report.

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

Returns
Type Description
ResponseMetaData.Builder

getMetadataOrBuilder()

public ResponseMetaDataOrBuilder getMetadataOrBuilder()

Metadata for the report.

.google.analytics.data.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.MetricHeader metric_headers = 2;

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

getMinimums(int index)

public Row getMinimums(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.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.v1beta.Row minimums = 6;

Returns
Type Description
List<Builder>

getMinimumsCount()

public int getMinimumsCount()

If requested, the minimum values of metrics.

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

Returns
Type Description
int

getMinimumsList()

public List<Row> getMinimumsList()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.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.v1beta.Row minimums = 6;

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

getPropertyQuota()

public PropertyQuota getPropertyQuota()

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Returns
Type Description
PropertyQuota

The propertyQuota.

getPropertyQuotaBuilder()

public PropertyQuota.Builder getPropertyQuotaBuilder()

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Returns
Type Description
PropertyQuota.Builder

getPropertyQuotaOrBuilder()

public PropertyQuotaOrBuilder getPropertyQuotaOrBuilder()

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Returns
Type Description
PropertyQuotaOrBuilder

getRowCount()

public int getRowCount()

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.Row rows = 3;

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

getTotals(int index)

public Row getTotals(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.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.v1beta.Row totals = 4;

Returns
Type Description
List<Builder>

getTotalsCount()

public int getTotalsCount()

If requested, the totaled values of metrics.

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

Returns
Type Description
int

getTotalsList()

public List<Row> getTotalsList()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1beta.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.v1beta.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.v1beta.Row totals = 4;

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

hasMetadata()

public boolean hasMetadata()

Metadata for the report.

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

Returns
Type Description
boolean

Whether the metadata field is set.

hasPropertyQuota()

public boolean hasPropertyQuota()

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Returns
Type Description
boolean

Whether the propertyQuota field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RunReportResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ResponseMetaData value)

public RunReportResponse.Builder mergeMetadata(ResponseMetaData value)

Metadata for the report.

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

Parameter
Name Description
value ResponseMetaData
Returns
Type Description
RunReportResponse.Builder

mergePropertyQuota(PropertyQuota value)

public RunReportResponse.Builder mergePropertyQuota(PropertyQuota value)

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Parameter
Name Description
value PropertyQuota
Returns
Type Description
RunReportResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDimensionHeaders(int index)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

removeMaximums(int index)

public RunReportResponse.Builder removeMaximums(int index)

If requested, the maximum values of metrics.

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

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

removeMetricHeaders(int index)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

removeMinimums(int index)

public RunReportResponse.Builder removeMinimums(int index)

If requested, the minimum values of metrics.

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

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

removeRows(int index)

public RunReportResponse.Builder removeRows(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

removeTotals(int index)

public RunReportResponse.Builder removeTotals(int index)

If requested, the totaled values of metrics.

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

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

setDimensionHeaders(int index, DimensionHeader value)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

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

setDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

public RunReportResponse.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.v1beta.DimensionHeader dimension_headers = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public RunReportResponse.Builder setKind(String value)

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runReport". Useful to distinguish between response types in JSON.

string kind = 10;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
RunReportResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public RunReportResponse.Builder setKindBytes(ByteString value)

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#runReport". Useful to distinguish between response types in JSON.

string kind = 10;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
RunReportResponse.Builder

This builder for chaining.

setMaximums(int index, Row value)

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

If requested, the maximum values of metrics.

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

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

setMaximums(int index, Row.Builder builderForValue)

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

If requested, the maximum values of metrics.

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

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

setMetadata(ResponseMetaData value)

public RunReportResponse.Builder setMetadata(ResponseMetaData value)

Metadata for the report.

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

Parameter
Name Description
value ResponseMetaData
Returns
Type Description
RunReportResponse.Builder

setMetadata(ResponseMetaData.Builder builderForValue)

public RunReportResponse.Builder setMetadata(ResponseMetaData.Builder builderForValue)

Metadata for the report.

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

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

setMetricHeaders(int index, MetricHeader value)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

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

setMetricHeaders(int index, MetricHeader.Builder builderForValue)

public RunReportResponse.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.v1beta.MetricHeader metric_headers = 2;

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

setMinimums(int index, Row value)

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

If requested, the minimum values of metrics.

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

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

setMinimums(int index, Row.Builder builderForValue)

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

If requested, the minimum values of metrics.

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

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

setPropertyQuota(PropertyQuota value)

public RunReportResponse.Builder setPropertyQuota(PropertyQuota value)

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Parameter
Name Description
value PropertyQuota
Returns
Type Description
RunReportResponse.Builder

setPropertyQuota(PropertyQuota.Builder builderForValue)

public RunReportResponse.Builder setPropertyQuota(PropertyQuota.Builder builderForValue)

This Analytics Property's quota state including this request.

.google.analytics.data.v1beta.PropertyQuota property_quota = 9;

Parameter
Name Description
builderForValue PropertyQuota.Builder
Returns
Type Description
RunReportResponse.Builder

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

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

setRowCount(int value)

public RunReportResponse.Builder setRowCount(int value)

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

int32 row_count = 7;

Parameter
Name Description
value int

The rowCount to set.

Returns
Type Description
RunReportResponse.Builder

This builder for chaining.

setRows(int index, Row value)

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

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

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

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

setRows(int index, Row.Builder builderForValue)

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

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

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

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

setTotals(int index, Row value)

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

If requested, the totaled values of metrics.

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

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

setTotals(int index, Row.Builder builderForValue)

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

If requested, the totaled values of metrics.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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