Class RunRealtimeReportResponse.Builder (0.58.0)

public static final class RunRealtimeReportResponse.Builder extends GeneratedMessageV3.Builder<RunRealtimeReportResponse.Builder> implements RunRealtimeReportResponseOrBuilder

The response realtime report table corresponding to a request.

Protobuf type google.analytics.data.v1beta.RunRealtimeReportResponse

Static Methods

getDescriptor()

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

Methods

addAllDimensionHeaders(Iterable<? extends DimensionHeader> values)

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

addAllMaximums(Iterable<? extends Row> values)

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

addAllMetricHeaders(Iterable<? extends MetricHeader> values)

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

addAllMinimums(Iterable<? extends Row> values)

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

addAllRows(Iterable<? extends Row> values)

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

addAllTotals(Iterable<? extends Row> values)

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

addDimensionHeaders(DimensionHeader value)

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

addDimensionHeaders(DimensionHeader.Builder builderForValue)

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

addDimensionHeaders(int index, DimensionHeader value)

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

addDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

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

addMaximums(Row.Builder builderForValue)

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

addMaximums(int index, Row value)

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

addMaximums(int index, Row.Builder builderForValue)

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

addMetricHeaders(MetricHeader.Builder builderForValue)

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

addMetricHeaders(int index, MetricHeader value)

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

addMetricHeaders(int index, MetricHeader.Builder builderForValue)

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

addMinimums(Row.Builder builderForValue)

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

addMinimums(int index, Row value)

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

addMinimums(int index, Row.Builder builderForValue)

public RunRealtimeReportResponse.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
RunRealtimeReportResponse.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 RunRealtimeReportResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RunRealtimeReportResponse.Builder
Overrides

addRows(Row value)

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

addRows(Row.Builder builderForValue)

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

addRows(int index, Row value)

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

addRows(int index, Row.Builder builderForValue)

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

addTotals(Row.Builder builderForValue)

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

addTotals(int index, Row value)

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

addTotals(int index, Row.Builder builderForValue)

public RunRealtimeReportResponse.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
RunRealtimeReportResponse.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 RunRealtimeReportResponse build()
Returns
Type Description
RunRealtimeReportResponse

buildPartial()

public RunRealtimeReportResponse buildPartial()
Returns
Type Description
RunRealtimeReportResponse

clear()

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

clearDimensionHeaders()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public RunRealtimeReportResponse.Builder clearKind()

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

string kind = 9;

Returns
Type Description
RunRealtimeReportResponse.Builder

This builder for chaining.

clearMaximums()

public RunRealtimeReportResponse.Builder clearMaximums()

If requested, the maximum values of metrics.

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

Returns
Type Description
RunRealtimeReportResponse.Builder

clearMetricHeaders()

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

clearMinimums()

public RunRealtimeReportResponse.Builder clearMinimums()

If requested, the minimum values of metrics.

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

Returns
Type Description
RunRealtimeReportResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPropertyQuota()

public RunRealtimeReportResponse.Builder clearPropertyQuota()

This Analytics Property's Realtime quota state including this request.

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

Returns
Type Description
RunRealtimeReportResponse.Builder

clearRowCount()

public RunRealtimeReportResponse.Builder clearRowCount()

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response and the limit 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.

int32 row_count = 7;

Returns
Type Description
RunRealtimeReportResponse.Builder

This builder for chaining.

clearRows()

public RunRealtimeReportResponse.Builder clearRows()

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

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

Returns
Type Description
RunRealtimeReportResponse.Builder

clearTotals()

public RunRealtimeReportResponse.Builder clearTotals()

If requested, the totaled values of metrics.

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

Returns
Type Description
RunRealtimeReportResponse.Builder

clone()

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

getDefaultInstanceForType()

public RunRealtimeReportResponse getDefaultInstanceForType()
Returns
Type Description
RunRealtimeReportResponse

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#runRealtimeReport". Useful to distinguish between response types in JSON.

string kind = 9;

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#runRealtimeReport". Useful to distinguish between response types in JSON.

string kind = 9;

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>

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 Realtime quota state including this request.

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

Returns
Type Description
PropertyQuota

The propertyQuota.

getPropertyQuotaBuilder()

public PropertyQuota.Builder getPropertyQuotaBuilder()

This Analytics Property's Realtime quota state including this request.

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

Returns
Type Description
PropertyQuota.Builder

getPropertyQuotaOrBuilder()

public PropertyQuotaOrBuilder getPropertyQuotaOrBuilder()

This Analytics Property's Realtime quota state including this request.

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

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 and the limit 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.

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>

hasPropertyQuota()

public boolean hasPropertyQuota()

This Analytics Property's Realtime quota state including this request.

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

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(RunRealtimeReportResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePropertyQuota(PropertyQuota value)

public RunRealtimeReportResponse.Builder mergePropertyQuota(PropertyQuota value)

This Analytics Property's Realtime quota state including this request.

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

Parameter
Name Description
value PropertyQuota
Returns
Type Description
RunRealtimeReportResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDimensionHeaders(int index)

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

removeMaximums(int index)

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

removeMetricHeaders(int index)

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

removeMinimums(int index)

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

removeRows(int index)

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

removeTotals(int index)

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

setDimensionHeaders(int index, DimensionHeader value)

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

setDimensionHeaders(int index, DimensionHeader.Builder builderForValue)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public RunRealtimeReportResponse.Builder setKind(String value)

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

string kind = 9;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
RunRealtimeReportResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public RunRealtimeReportResponse.Builder setKindBytes(ByteString value)

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

string kind = 9;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
RunRealtimeReportResponse.Builder

This builder for chaining.

setMaximums(int index, Row value)

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

setMaximums(int index, Row.Builder builderForValue)

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

setMetricHeaders(int index, MetricHeader value)

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

setMetricHeaders(int index, MetricHeader.Builder builderForValue)

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

setMinimums(int index, Row value)

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

setMinimums(int index, Row.Builder builderForValue)

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

setPropertyQuota(PropertyQuota value)

public RunRealtimeReportResponse.Builder setPropertyQuota(PropertyQuota value)

This Analytics Property's Realtime quota state including this request.

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

Parameter
Name Description
value PropertyQuota
Returns
Type Description
RunRealtimeReportResponse.Builder

setPropertyQuota(PropertyQuota.Builder builderForValue)

public RunRealtimeReportResponse.Builder setPropertyQuota(PropertyQuota.Builder builderForValue)

This Analytics Property's Realtime quota state including this request.

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

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

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

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

setRowCount(int value)

public RunRealtimeReportResponse.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 and the limit 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.

int32 row_count = 7;

Parameter
Name Description
value int

The rowCount to set.

Returns
Type Description
RunRealtimeReportResponse.Builder

This builder for chaining.

setRows(int index, Row value)

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

setRows(int index, Row.Builder builderForValue)

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

setTotals(int index, Row value)

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

setTotals(int index, Row.Builder builderForValue)

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

setUnknownFields(UnknownFieldSet unknownFields)

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