Class ReportDataTable.Row.Builder (0.39.0)

public static final class ReportDataTable.Row.Builder extends GeneratedMessageV3.Builder<ReportDataTable.Row.Builder> implements ReportDataTable.RowOrBuilder

A row of report data.

Protobuf type google.ads.admanager.v1.ReportDataTable.Row

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDimensionValues(Iterable<? extends ReportValue> values)

public ReportDataTable.Row.Builder addAllDimensionValues(Iterable<? extends ReportValue> values)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ReportValue>
Returns
Type Description
ReportDataTable.Row.Builder

addAllMetricValueGroups(Iterable<? extends ReportDataTable.MetricValueGroup> values)

public ReportDataTable.Row.Builder addAllMetricValueGroups(Iterable<? extends ReportDataTable.MetricValueGroup> values)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ReportDataTable.MetricValueGroup>
Returns
Type Description
ReportDataTable.Row.Builder

addDimensionValues(ReportValue value)

public ReportDataTable.Row.Builder addDimensionValues(ReportValue value)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
value ReportValue
Returns
Type Description
ReportDataTable.Row.Builder

addDimensionValues(ReportValue.Builder builderForValue)

public ReportDataTable.Row.Builder addDimensionValues(ReportValue.Builder builderForValue)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
builderForValue ReportValue.Builder
Returns
Type Description
ReportDataTable.Row.Builder

addDimensionValues(int index, ReportValue value)

public ReportDataTable.Row.Builder addDimensionValues(int index, ReportValue value)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameters
Name Description
index int
value ReportValue
Returns
Type Description
ReportDataTable.Row.Builder

addDimensionValues(int index, ReportValue.Builder builderForValue)

public ReportDataTable.Row.Builder addDimensionValues(int index, ReportValue.Builder builderForValue)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameters
Name Description
index int
builderForValue ReportValue.Builder
Returns
Type Description
ReportDataTable.Row.Builder

addDimensionValuesBuilder()

public ReportValue.Builder addDimensionValuesBuilder()

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Returns
Type Description
ReportValue.Builder

addDimensionValuesBuilder(int index)

public ReportValue.Builder addDimensionValuesBuilder(int index)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValue.Builder

addMetricValueGroups(ReportDataTable.MetricValueGroup value)

public ReportDataTable.Row.Builder addMetricValueGroups(ReportDataTable.MetricValueGroup value)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
value ReportDataTable.MetricValueGroup
Returns
Type Description
ReportDataTable.Row.Builder

addMetricValueGroups(ReportDataTable.MetricValueGroup.Builder builderForValue)

public ReportDataTable.Row.Builder addMetricValueGroups(ReportDataTable.MetricValueGroup.Builder builderForValue)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
builderForValue ReportDataTable.MetricValueGroup.Builder
Returns
Type Description
ReportDataTable.Row.Builder

addMetricValueGroups(int index, ReportDataTable.MetricValueGroup value)

public ReportDataTable.Row.Builder addMetricValueGroups(int index, ReportDataTable.MetricValueGroup value)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameters
Name Description
index int
value ReportDataTable.MetricValueGroup
Returns
Type Description
ReportDataTable.Row.Builder

addMetricValueGroups(int index, ReportDataTable.MetricValueGroup.Builder builderForValue)

public ReportDataTable.Row.Builder addMetricValueGroups(int index, ReportDataTable.MetricValueGroup.Builder builderForValue)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameters
Name Description
index int
builderForValue ReportDataTable.MetricValueGroup.Builder
Returns
Type Description
ReportDataTable.Row.Builder

addMetricValueGroupsBuilder()

public ReportDataTable.MetricValueGroup.Builder addMetricValueGroupsBuilder()

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
ReportDataTable.MetricValueGroup.Builder

addMetricValueGroupsBuilder(int index)

public ReportDataTable.MetricValueGroup.Builder addMetricValueGroupsBuilder(int index)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportDataTable.MetricValueGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportDataTable.Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

build()

public ReportDataTable.Row build()
Returns
Type Description
ReportDataTable.Row

buildPartial()

public ReportDataTable.Row buildPartial()
Returns
Type Description
ReportDataTable.Row

clear()

public ReportDataTable.Row.Builder clear()
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

clearDimensionValues()

public ReportDataTable.Row.Builder clearDimensionValues()

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Returns
Type Description
ReportDataTable.Row.Builder

clearField(Descriptors.FieldDescriptor field)

public ReportDataTable.Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

clearMetricValueGroups()

public ReportDataTable.Row.Builder clearMetricValueGroups()

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
ReportDataTable.Row.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportDataTable.Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

clone()

public ReportDataTable.Row.Builder clone()
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

getDefaultInstanceForType()

public ReportDataTable.Row getDefaultInstanceForType()
Returns
Type Description
ReportDataTable.Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDimensionValues(int index)

public ReportValue getDimensionValues(int index)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getDimensionValuesBuilder(int index)

public ReportValue.Builder getDimensionValuesBuilder(int index)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValue.Builder

getDimensionValuesBuilderList()

public List<ReportValue.Builder> getDimensionValuesBuilderList()

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Returns
Type Description
List<Builder>

getDimensionValuesCount()

public int getDimensionValuesCount()

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Returns
Type Description
int

getDimensionValuesList()

public List<ReportValue> getDimensionValuesList()

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Returns
Type Description
List<ReportValue>

getDimensionValuesOrBuilder(int index)

public ReportValueOrBuilder getDimensionValuesOrBuilder(int index)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getDimensionValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getDimensionValuesOrBuilderList()

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.ReportValueOrBuilder>

getMetricValueGroups(int index)

public ReportDataTable.MetricValueGroup getMetricValueGroups(int index)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportDataTable.MetricValueGroup

getMetricValueGroupsBuilder(int index)

public ReportDataTable.MetricValueGroup.Builder getMetricValueGroupsBuilder(int index)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportDataTable.MetricValueGroup.Builder

getMetricValueGroupsBuilderList()

public List<ReportDataTable.MetricValueGroup.Builder> getMetricValueGroupsBuilderList()

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
List<Builder>

getMetricValueGroupsCount()

public int getMetricValueGroupsCount()

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
int

getMetricValueGroupsList()

public List<ReportDataTable.MetricValueGroup> getMetricValueGroupsList()

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
List<MetricValueGroup>

getMetricValueGroupsOrBuilder(int index)

public ReportDataTable.MetricValueGroupOrBuilder getMetricValueGroupsOrBuilder(int index)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportDataTable.MetricValueGroupOrBuilder

getMetricValueGroupsOrBuilderList()

public List<? extends ReportDataTable.MetricValueGroupOrBuilder> getMetricValueGroupsOrBuilderList()

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.ReportDataTable.MetricValueGroupOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportDataTable.Row other)

public ReportDataTable.Row.Builder mergeFrom(ReportDataTable.Row other)
Parameter
Name Description
other ReportDataTable.Row
Returns
Type Description
ReportDataTable.Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportDataTable.Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportDataTable.Row.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportDataTable.Row.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportDataTable.Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

removeDimensionValues(int index)

public ReportDataTable.Row.Builder removeDimensionValues(int index)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportDataTable.Row.Builder

removeMetricValueGroups(int index)

public ReportDataTable.Row.Builder removeMetricValueGroups(int index)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportDataTable.Row.Builder

setDimensionValues(int index, ReportValue value)

public ReportDataTable.Row.Builder setDimensionValues(int index, ReportValue value)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameters
Name Description
index int
value ReportValue
Returns
Type Description
ReportDataTable.Row.Builder

setDimensionValues(int index, ReportValue.Builder builderForValue)

public ReportDataTable.Row.Builder setDimensionValues(int index, ReportValue.Builder builderForValue)

The order of the dimension values is the same as the order of the dimensions specified in the request.

repeated .google.ads.admanager.v1.ReportValue dimension_values = 1;

Parameters
Name Description
index int
builderForValue ReportValue.Builder
Returns
Type Description
ReportDataTable.Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReportDataTable.Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

setMetricValueGroups(int index, ReportDataTable.MetricValueGroup value)

public ReportDataTable.Row.Builder setMetricValueGroups(int index, ReportDataTable.MetricValueGroup value)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameters
Name Description
index int
value ReportDataTable.MetricValueGroup
Returns
Type Description
ReportDataTable.Row.Builder

setMetricValueGroups(int index, ReportDataTable.MetricValueGroup.Builder builderForValue)

public ReportDataTable.Row.Builder setMetricValueGroups(int index, ReportDataTable.MetricValueGroup.Builder builderForValue)

The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges [x, y], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y.

repeated .google.ads.admanager.v1.ReportDataTable.MetricValueGroup metric_value_groups = 2;

Parameters
Name Description
index int
builderForValue ReportDataTable.MetricValueGroup.Builder
Returns
Type Description
ReportDataTable.Row.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportDataTable.Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportDataTable.Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportDataTable.Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportDataTable.Row.Builder
Overrides