Class Report.DataTable.Row.Builder (0.14.0)

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

A row of report data.

Protobuf type google.ads.admanager.v1.Report.DataTable.Row

Static Methods

getDescriptor()

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

Methods

addAllDimensionValues(Iterable<? extends Report.Value> values)

public Report.DataTable.Row.Builder addAllDimensionValues(Iterable<? extends Report.Value> 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.Report.Value dimension_values = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.Report.Value>
Returns
Type Description
Report.DataTable.Row.Builder

addAllMetricValueGroups(Iterable<? extends Report.DataTable.MetricValueGroup> values)

public Report.DataTable.Row.Builder addAllMetricValueGroups(Iterable<? extends Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

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

addDimensionValues(Report.Value value)

public Report.DataTable.Row.Builder addDimensionValues(Report.Value 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.Report.Value dimension_values = 1;

Parameter
Name Description
value Report.Value
Returns
Type Description
Report.DataTable.Row.Builder

addDimensionValues(Report.Value.Builder builderForValue)

public Report.DataTable.Row.Builder addDimensionValues(Report.Value.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.Report.Value dimension_values = 1;

Parameter
Name Description
builderForValue Report.Value.Builder
Returns
Type Description
Report.DataTable.Row.Builder

addDimensionValues(int index, Report.Value value)

public Report.DataTable.Row.Builder addDimensionValues(int index, Report.Value 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.Report.Value dimension_values = 1;

Parameters
Name Description
index int
value Report.Value
Returns
Type Description
Report.DataTable.Row.Builder

addDimensionValues(int index, Report.Value.Builder builderForValue)

public Report.DataTable.Row.Builder addDimensionValues(int index, Report.Value.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.Report.Value dimension_values = 1;

Parameters
Name Description
index int
builderForValue Report.Value.Builder
Returns
Type Description
Report.DataTable.Row.Builder

addDimensionValuesBuilder()

public Report.Value.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.Report.Value dimension_values = 1;

Returns
Type Description
Report.Value.Builder

addDimensionValuesBuilder(int index)

public Report.Value.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.Report.Value dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Value.Builder

addMetricValueGroups(Report.DataTable.MetricValueGroup value)

public Report.DataTable.Row.Builder addMetricValueGroups(Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
value Report.DataTable.MetricValueGroup
Returns
Type Description
Report.DataTable.Row.Builder

addMetricValueGroups(Report.DataTable.MetricValueGroup.Builder builderForValue)

public Report.DataTable.Row.Builder addMetricValueGroups(Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
builderForValue Report.DataTable.MetricValueGroup.Builder
Returns
Type Description
Report.DataTable.Row.Builder

addMetricValueGroups(int index, Report.DataTable.MetricValueGroup value)

public Report.DataTable.Row.Builder addMetricValueGroups(int index, Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

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

addMetricValueGroups(int index, Report.DataTable.MetricValueGroup.Builder builderForValue)

public Report.DataTable.Row.Builder addMetricValueGroups(int index, Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

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

addMetricValueGroupsBuilder()

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

addMetricValueGroupsBuilder(int index)

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Report.DataTable.Row build()
Returns
Type Description
Report.DataTable.Row

buildPartial()

public Report.DataTable.Row buildPartial()
Returns
Type Description
Report.DataTable.Row

clear()

public Report.DataTable.Row.Builder clear()
Returns
Type Description
Report.DataTable.Row.Builder
Overrides

clearDimensionValues()

public Report.DataTable.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.Report.Value dimension_values = 1;

Returns
Type Description
Report.DataTable.Row.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMetricValueGroups()

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
Report.DataTable.Row.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Report.DataTable.Row.Builder clone()
Returns
Type Description
Report.DataTable.Row.Builder
Overrides

getDefaultInstanceForType()

public Report.DataTable.Row getDefaultInstanceForType()
Returns
Type Description
Report.DataTable.Row

getDescriptorForType()

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

getDimensionValues(int index)

public Report.Value 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.Report.Value dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getDimensionValuesBuilder(int index)

public Report.Value.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.Report.Value dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Value.Builder

getDimensionValuesBuilderList()

public List<Report.Value.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.Report.Value 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.Report.Value dimension_values = 1;

Returns
Type Description
int

getDimensionValuesList()

public List<Report.Value> 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.Report.Value dimension_values = 1;

Returns
Type Description
List<Value>

getDimensionValuesOrBuilder(int index)

public Report.ValueOrBuilder 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.Report.Value dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getDimensionValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> 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.Report.Value dimension_values = 1;

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

getMetricValueGroups(int index)

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.DataTable.MetricValueGroup

getMetricValueGroupsBuilder(int index)

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

getMetricValueGroupsBuilderList()

public List<Report.DataTable.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.Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
int

getMetricValueGroupsList()

public List<Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Returns
Type Description
List<MetricValueGroup>

getMetricValueGroupsOrBuilder(int index)

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.DataTable.MetricValueGroupOrBuilder

getMetricValueGroupsOrBuilderList()

public List<? extends Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Report.DataTable.Row other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDimensionValues(int index)

public Report.DataTable.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.Report.Value dimension_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.DataTable.Row.Builder

removeMetricValueGroups(int index)

public Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.DataTable.Row.Builder

setDimensionValues(int index, Report.Value value)

public Report.DataTable.Row.Builder setDimensionValues(int index, Report.Value 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.Report.Value dimension_values = 1;

Parameters
Name Description
index int
value Report.Value
Returns
Type Description
Report.DataTable.Row.Builder

setDimensionValues(int index, Report.Value.Builder builderForValue)

public Report.DataTable.Row.Builder setDimensionValues(int index, Report.Value.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.Report.Value dimension_values = 1;

Parameters
Name Description
index int
builderForValue Report.Value.Builder
Returns
Type Description
Report.DataTable.Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetricValueGroups(int index, Report.DataTable.MetricValueGroup value)

public Report.DataTable.Row.Builder setMetricValueGroups(int index, Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

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

setMetricValueGroups(int index, Report.DataTable.MetricValueGroup.Builder builderForValue)

public Report.DataTable.Row.Builder setMetricValueGroups(int index, Report.DataTable.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.Report.DataTable.MetricValueGroup metric_value_groups = 2;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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