public static final class Row.Builder extends GeneratedMessageV3.Builder<Row.Builder> 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.v1alpha.Row
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDimensionValues(Iterable<? extends DimensionValue> values)
public Row.Builder addAllDimensionValues(Iterable<? extends DimensionValue> values)
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 |
values | Iterable<? extends com.google.analytics.data.v1alpha.DimensionValue>
|
Returns
addAllMetricValues(Iterable<? extends MetricValue> values)
public Row.Builder addAllMetricValues(Iterable<? extends MetricValue> values)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.analytics.data.v1alpha.MetricValue>
|
Returns
addDimensionValues(DimensionValue value)
public Row.Builder addDimensionValues(DimensionValue value)
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
Returns
addDimensionValues(DimensionValue.Builder builderForValue)
public Row.Builder addDimensionValues(DimensionValue.Builder builderForValue)
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
Returns
addDimensionValues(int index, DimensionValue value)
public Row.Builder addDimensionValues(int index, DimensionValue value)
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;
Parameters
Returns
addDimensionValues(int index, DimensionValue.Builder builderForValue)
public Row.Builder addDimensionValues(int index, DimensionValue.Builder builderForValue)
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;
Parameters
Returns
addDimensionValuesBuilder()
public DimensionValue.Builder addDimensionValuesBuilder()
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
addDimensionValuesBuilder(int index)
public DimensionValue.Builder addDimensionValuesBuilder(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
Returns
addMetricValues(MetricValue value)
public Row.Builder addMetricValues(MetricValue value)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Returns
addMetricValues(MetricValue.Builder builderForValue)
public Row.Builder addMetricValues(MetricValue.Builder builderForValue)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Returns
addMetricValues(int index, MetricValue value)
public Row.Builder addMetricValues(int index, MetricValue value)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameters
Returns
addMetricValues(int index, MetricValue.Builder builderForValue)
public Row.Builder addMetricValues(int index, MetricValue.Builder builderForValue)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameters
Returns
addMetricValuesBuilder()
public MetricValue.Builder addMetricValuesBuilder()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns
addMetricValuesBuilder(int index)
public MetricValue.Builder addMetricValuesBuilder(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Row buildPartial()
Returns
clear()
public Row.Builder clear()
Returns
Overrides
clearDimensionValues()
public Row.Builder clearDimensionValues()
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
clearField(Descriptors.FieldDescriptor field)
public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetricValues()
public Row.Builder clearMetricValues()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Row.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Returns
getDimensionValuesBuilder(int index)
public DimensionValue.Builder getDimensionValuesBuilder(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
Returns
getDimensionValuesBuilderList()
public List<DimensionValue.Builder> getDimensionValuesBuilderList()
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
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
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;
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.v1alpha.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.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
Returns
getMetricValuesBuilder(int index)
public MetricValue.Builder getMetricValuesBuilder(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Returns
getMetricValuesBuilderList()
public List<MetricValue.Builder> getMetricValuesBuilderList()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns
getMetricValuesCount()
public int getMetricValuesCount()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns
getMetricValuesList()
public List<MetricValue> getMetricValuesList()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Returns
getMetricValuesOrBuilder(int index)
public MetricValueOrBuilder getMetricValuesOrBuilder(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Returns
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter
Returns
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDimensionValues(int index)
public Row.Builder removeDimensionValues(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
Returns
removeMetricValues(int index)
public Row.Builder removeMetricValues(int index)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameter
Returns
setDimensionValues(int index, DimensionValue value)
public Row.Builder setDimensionValues(int index, DimensionValue value)
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;
Parameters
Returns
setDimensionValues(int index, DimensionValue.Builder builderForValue)
public Row.Builder setDimensionValues(int index, DimensionValue.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMetricValues(int index, MetricValue value)
public Row.Builder setMetricValues(int index, MetricValue value)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameters
Returns
setMetricValues(int index, MetricValue.Builder builderForValue)
public Row.Builder setMetricValues(int index, MetricValue.Builder builderForValue)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides