Class Row (0.60.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.v1alpha.Row
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
newBuilder()
public static Row.Builder newBuilder()
newBuilder(Row prototype)
public static Row.Builder newBuilder(Row prototype)
Parameter |
Name |
Description |
prototype |
Row
|
public static Row parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Row |
|
public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Row |
|
parseFrom(byte[] data)
public static Row parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Row |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Row |
|
parseFrom(ByteString data)
public static Row parseFrom(ByteString data)
Returns |
Type |
Description |
Row |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Row |
|
public static Row parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Row |
|
public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Row |
|
public static Row parseFrom(InputStream input)
Returns |
Type |
Description |
Row |
|
public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Row |
|
parseFrom(ByteBuffer data)
public static Row parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Row |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Row |
|
parser()
public static Parser<Row> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.v1alpha.DimensionValue dimension_values = 1;
Parameter |
Name |
Description |
index |
int
|
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.v1alpha.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.v1alpha.DimensionValue dimension_values = 1;
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.v1alpha.DimensionValue dimension_values = 1;
Parameter |
Name |
Description |
index |
int
|
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.v1alpha.DimensionValue dimension_values = 1;
Returns |
Type |
Description |
List<? extends com.google.analytics.data.v1alpha.DimensionValueOrBuilder> |
|
getMetricValues(int index)
public MetricValue getMetricValues(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter |
Name |
Description |
index |
int
|
getMetricValuesCount()
public int getMetricValuesCount()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns |
Type |
Description |
int |
|
getMetricValuesList()
public List<MetricValue> getMetricValuesList()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
getMetricValuesOrBuilder(int index)
public MetricValueOrBuilder getMetricValuesOrBuilder(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter |
Name |
Description |
index |
int
|
getMetricValuesOrBuilderList()
public List<? extends MetricValueOrBuilder> getMetricValuesOrBuilderList()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns |
Type |
Description |
List<? extends com.google.analytics.data.v1alpha.MetricValueOrBuilder> |
|
getParserForType()
public Parser<Row> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Row.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Row.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-03 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-03 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-03 UTC."]]