Class Row (0.59.0)

public final class Row extends GeneratedMessageV3 implements RowOrBuilder

Report data for each row. For example if RunReportRequest contains:

`none "dimensions": [ { "name": "eventName" }, { "name": "countryId" } ], "metrics": [ { "name": "eventCount" } ]

One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and 15 as the eventCount, would be:

none "dimensionValues": [ { "value": "in_app_purchase" }, { "value": "JP" } ], "metricValues": [ { "value": "15" } ] `

Protobuf type google.analytics.data.v1beta.Row

Implements

RowOrBuilder

Static Fields

DIMENSION_VALUES_FIELD_NUMBER

public static final int DIMENSION_VALUES_FIELD_NUMBER
Field Value
Type Description
int

METRIC_VALUES_FIELD_NUMBER

public static final int METRIC_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Row getDefaultInstance()
Returns
Type Description
Row

getDescriptor()

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

newBuilder()

public static Row.Builder newBuilder()
Returns
Type Description
Row.Builder

newBuilder(Row prototype)

public static Row.Builder newBuilder(Row prototype)
Parameter
Name Description
prototype Row
Returns
Type Description
Row.Builder

parseDelimitedFrom(InputStream input)

public static Row parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Row
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Row parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Row parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Row parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Row
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Row parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Row
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Row parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Row
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Row> parser()
Returns
Type Description
Parser<Row>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
Type Description
Row

getDimensionValues(int index)

public DimensionValue getDimensionValues(int index)

List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionValue

getDimensionValuesCount()

public int getDimensionValuesCount()

List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
Type Description
int

getDimensionValuesList()

public List<DimensionValue> getDimensionValuesList()

List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Returns
Type Description
List<DimensionValue>

getDimensionValuesOrBuilder(int index)

public DimensionValueOrBuilder getDimensionValuesOrBuilder(int index)

List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionValueOrBuilder

getDimensionValuesOrBuilderList()

public List<? extends DimensionValueOrBuilder> getDimensionValuesOrBuilderList()

List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;

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

getMetricValues(int index)

public MetricValue getMetricValues(int index)

List of requested visible metric values.

repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricValue

getMetricValuesCount()

public int getMetricValuesCount()

List of requested visible metric values.

repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;

Returns
Type Description
int

getMetricValuesList()

public List<MetricValue> getMetricValuesList()

List of requested visible metric values.

repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;

Returns
Type Description
List<MetricValue>

getMetricValuesOrBuilder(int index)

public MetricValueOrBuilder getMetricValuesOrBuilder(int index)

List of requested visible metric values.

repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricValueOrBuilder

getMetricValuesOrBuilderList()

public List<? extends MetricValueOrBuilder> getMetricValuesOrBuilderList()

List of requested visible metric values.

repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;

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

getParserForType()

public Parser<Row> getParserForType()
Returns
Type Description
Parser<Row>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Row.Builder newBuilderForType()
Returns
Type Description
Row.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Row.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Row.Builder toBuilder()
Returns
Type Description
Row.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException