Class Row (0.44.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
TypeDescription
int

METRIC_VALUES_FIELD_NUMBER

public static final int METRIC_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Row getDefaultInstance()
Returns
TypeDescription
Row

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Row.Builder newBuilder()
Returns
TypeDescription
Row.Builder

newBuilder(Row prototype)

public static Row.Builder newBuilder(Row prototype)
Parameter
NameDescription
prototypeRow
Returns
TypeDescription
Row.Builder

parseDelimitedFrom(InputStream input)

public static Row parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Row parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Row parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Row parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Row parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Row parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Row> parser()
Returns
TypeDescription
Parser<Row>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MetricValue

getMetricValuesCount()

public int getMetricValuesCount()

List of requested visible metric values.

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

Returns
TypeDescription
int

getMetricValuesList()

public List<MetricValue> getMetricValuesList()

List of requested visible metric values.

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

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

getMetricValuesOrBuilderList()

public List<? extends MetricValueOrBuilder> getMetricValuesOrBuilderList()

List of requested visible metric values.

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

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

getParserForType()

public Parser<Row> getParserForType()
Returns
TypeDescription
Parser<Row>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Row.Builder newBuilderForType()
Returns
TypeDescription
Row.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Row.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Row.Builder toBuilder()
Returns
TypeDescription
Row.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException