Class RunReportResponse.Builder (0.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.DimensionHeader>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Row>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.MetricHeader>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Row>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Row>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Row>
Returns
TypeDescription
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
NameDescription
valueDimensionHeader
Returns
TypeDescription
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
NameDescription
builderForValueDimensionHeader.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDimensionHeader
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDimensionHeader.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueRow
Returns
TypeDescription
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
NameDescription
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
RunReportResponse.Builder

addMaximumsBuilder()

public Row.Builder addMaximumsBuilder()

If requested, the maximum values of metrics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueMetricHeader
Returns
TypeDescription
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
NameDescription
builderForValueMetricHeader.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMetricHeader
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMetricHeader.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueRow
Returns
TypeDescription
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
NameDescription
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
RunReportResponse.Builder

addMinimumsBuilder()

public Row.Builder addMinimumsBuilder()

If requested, the minimum values of metrics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunReportResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRow
Returns
TypeDescription
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
NameDescription
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueRow
Returns
TypeDescription
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
NameDescription
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
RunReportResponse.Builder

addTotalsBuilder()

public Row.Builder addTotalsBuilder()

If requested, the totaled values of metrics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

build()

public RunReportResponse build()
Returns
TypeDescription
RunReportResponse

buildPartial()

public RunReportResponse buildPartial()
Returns
TypeDescription
RunReportResponse

clear()

public RunReportResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
RunReportResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public RunReportResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RunReportResponse.Builder

clearMetadata()

public RunReportResponse.Builder clearMetadata()

Metadata for the report.

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

Returns
TypeDescription
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
TypeDescription
RunReportResponse.Builder

clearMinimums()

public RunReportResponse.Builder clearMinimums()

If requested, the minimum values of metrics.

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

Returns
TypeDescription
RunReportResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RunReportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RunReportResponse.Builder

clearTotals()

public RunReportResponse.Builder clearTotals()

If requested, the totaled values of metrics.

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

Returns
TypeDescription
RunReportResponse.Builder

clone()

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

getDefaultInstanceForType()

public RunReportResponse getDefaultInstanceForType()
Returns
TypeDescription
RunReportResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

getMaximumsBuilderList()

public List<Row.Builder> getMaximumsBuilderList()

If requested, the maximum values of metrics.

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

Returns
TypeDescription
List<Builder>

getMaximumsCount()

public int getMaximumsCount()

If requested, the maximum values of metrics.

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

Returns
TypeDescription
int

getMaximumsList()

public List<Row> getMaximumsList()

If requested, the maximum values of metrics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RowOrBuilder

getMaximumsOrBuilderList()

public List<? extends RowOrBuilder> getMaximumsOrBuilderList()

If requested, the maximum values of metrics.

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

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

getMetadata()

public ResponseMetaData getMetadata()

Metadata for the report.

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

Returns
TypeDescription
ResponseMetaData

The metadata.

getMetadataBuilder()

public ResponseMetaData.Builder getMetadataBuilder()

Metadata for the report.

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

Returns
TypeDescription
ResponseMetaData.Builder

getMetadataOrBuilder()

public ResponseMetaDataOrBuilder getMetadataOrBuilder()

Metadata for the report.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

getMinimumsBuilderList()

public List<Row.Builder> getMinimumsBuilderList()

If requested, the minimum values of metrics.

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

Returns
TypeDescription
List<Builder>

getMinimumsCount()

public int getMinimumsCount()

If requested, the minimum values of metrics.

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

Returns
TypeDescription
int

getMinimumsList()

public List<Row> getMinimumsList()

If requested, the minimum values of metrics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RowOrBuilder

getMinimumsOrBuilderList()

public List<? extends RowOrBuilder> getMinimumsOrBuilderList()

If requested, the minimum values of metrics.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PropertyQuota.Builder

getPropertyQuotaOrBuilder()

public PropertyQuotaOrBuilder getPropertyQuotaOrBuilder()

This Analytics Property's quota state including this request.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

getTotalsBuilderList()

public List<Row.Builder> getTotalsBuilderList()

If requested, the totaled values of metrics.

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

Returns
TypeDescription
List<Builder>

getTotalsCount()

public int getTotalsCount()

If requested, the totaled values of metrics.

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

Returns
TypeDescription
int

getTotalsList()

public List<Row> getTotalsList()

If requested, the totaled values of metrics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RowOrBuilder

getTotalsOrBuilderList()

public List<? extends RowOrBuilder> getTotalsOrBuilderList()

If requested, the totaled values of metrics.

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

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

hasMetadata()

public boolean hasMetadata()

Metadata for the report.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the propertyQuota field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunReportResponse other)

public RunReportResponse.Builder mergeFrom(RunReportResponse other)
Parameter
NameDescription
otherRunReportResponse
Returns
TypeDescription
RunReportResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(ResponseMetaData value)

public RunReportResponse.Builder mergeMetadata(ResponseMetaData value)

Metadata for the report.

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

Parameter
NameDescription
valueResponseMetaData
Returns
TypeDescription
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
NameDescription
valuePropertyQuota
Returns
TypeDescription
RunReportResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunReportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDimensionHeader
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDimensionHeader.Builder
Returns
TypeDescription
RunReportResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RunReportResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The kind to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
RunReportResponse.Builder

setMetadata(ResponseMetaData value)

public RunReportResponse.Builder setMetadata(ResponseMetaData value)

Metadata for the report.

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

Parameter
NameDescription
valueResponseMetaData
Returns
TypeDescription
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
NameDescription
builderForValueResponseMetaData.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMetricHeader
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMetricHeader.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
valuePropertyQuota
Returns
TypeDescription
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
NameDescription
builderForValuePropertyQuota.Builder
Returns
TypeDescription
RunReportResponse.Builder

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

public RunReportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The rowCount to set.

Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
RunReportResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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