public static final class Row.Builder extends GeneratedMessageV3.Builder<Row.Builder> 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.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()
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>
|
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addMetricValues(MetricValue value)
public Row.Builder addMetricValues(MetricValue value)
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
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;
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;
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;
addMetricValuesBuilder()
public MetricValue.Builder addMetricValuesBuilder()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
---|
Type | Description |
Row | |
buildPartial()
public Row buildPartial()
Returns |
---|
Type | Description |
Row | |
clear()
public Row.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public Row.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetricValues()
public Row.Builder clearMetricValues()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Row.Builder clone()
Overrides
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns |
---|
Type | Description |
Row | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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
|
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 |
---|
Name | Description |
index | int
|
getMetricValuesBuilderList()
public List<MetricValue.Builder> getMetricValuesBuilderList()
List of requested visible metric values.
repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter |
---|
Name | Description |
other | Row
|
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides