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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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.v1beta.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.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;
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
|
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
|
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;
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
|
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()
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)
Overrides
toBuilder()
public Row.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides