public final class Row extends GeneratedMessageV3 implements RowOrBuilder
Report data for each row.
For example if RunReportRequest contains:
<code><code>none
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
</code></code><code>
One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
15 as the eventCount, would be:
</code><code><code>none
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
</code></code>
Protobuf type google.analytics.data.v1beta.Row
Static Fields
DIMENSION_VALUES_FIELD_NUMBER
public static final int DIMENSION_VALUES_FIELD_NUMBER
Field Value
METRIC_VALUES_FIELD_NUMBER
public static final int METRIC_VALUES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Row getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Row.Builder newBuilder()
Returns
newBuilder(Row prototype)
public static Row.Builder newBuilder(Row prototype)
Parameter
Name | Description |
prototype | Row
|
Returns
public static Row parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Row parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Row parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Row parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Row parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Row parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Row> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns
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
Returns
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
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
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
Returns
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
Returns
getMetricValuesCount()
public int getMetricValuesCount()
List of requested visible metric values.
repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;
Returns
getMetricValuesList()
public List<MetricValue> getMetricValuesList()
List of requested visible metric values.
repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;
Returns
getMetricValuesOrBuilder(int index)
public MetricValueOrBuilder getMetricValuesOrBuilder(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1beta.MetricValue metric_values = 2;
Parameter
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Row.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Row.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions