Class Report.DataTable.MetricValueGroup (0.13.0)

public static final class Report.DataTable.MetricValueGroup extends GeneratedMessageV3 implements Report.DataTable.MetricValueGroupOrBuilder

Contains all metric values requested for a single date range and set of column dimension values (returned in the columns field of the response). The order of the metrics in each field corresponds to the order of the metrics specified in the request.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Report.DataTable.MetricValueGroup

Static Fields

ABSOLUTE_CHANGE_VALUES_FIELD_NUMBER

public static final int ABSOLUTE_CHANGE_VALUES_FIELD_NUMBER
Field Value
Type Description
int

COMPARISON_PERCENT_OF_TOTAL_VALUES_FIELD_NUMBER

public static final int COMPARISON_PERCENT_OF_TOTAL_VALUES_FIELD_NUMBER
Field Value
Type Description
int

COMPARISON_VALUES_FIELD_NUMBER

public static final int COMPARISON_VALUES_FIELD_NUMBER
Field Value
Type Description
int

FLAG_VALUES_FIELD_NUMBER

public static final int FLAG_VALUES_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_PERCENT_OF_TOTAL_VALUES_FIELD_NUMBER

public static final int PRIMARY_PERCENT_OF_TOTAL_VALUES_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_VALUES_FIELD_NUMBER

public static final int PRIMARY_VALUES_FIELD_NUMBER
Field Value
Type Description
int

RELATIVE_CHANGE_VALUES_FIELD_NUMBER

public static final int RELATIVE_CHANGE_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Report.DataTable.MetricValueGroup getDefaultInstance()
Returns
Type Description
Report.DataTable.MetricValueGroup

getDescriptor()

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

newBuilder()

public static Report.DataTable.MetricValueGroup.Builder newBuilder()
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

newBuilder(Report.DataTable.MetricValueGroup prototype)

public static Report.DataTable.MetricValueGroup.Builder newBuilder(Report.DataTable.MetricValueGroup prototype)
Parameter
Name Description
prototype Report.DataTable.MetricValueGroup
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

parseDelimitedFrom(InputStream input)

public static Report.DataTable.MetricValueGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Report.DataTable.MetricValueGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Report.DataTable.MetricValueGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Report.DataTable.MetricValueGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Report.DataTable.MetricValueGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Report.DataTable.MetricValueGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Report.DataTable.MetricValueGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Report.DataTable.MetricValueGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Report.DataTable.MetricValueGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Report.DataTable.MetricValueGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Report.DataTable.MetricValueGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Report.DataTable.MetricValueGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Report.DataTable.MetricValueGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Report.DataTable.MetricValueGroup> parser()
Returns
Type Description
Parser<MetricValueGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAbsoluteChangeValues(int index)

public Report.Value getAbsoluteChangeValues(int index)

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value absolute_change_values = 5;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getAbsoluteChangeValuesCount()

public int getAbsoluteChangeValuesCount()

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value absolute_change_values = 5;

Returns
Type Description
int

getAbsoluteChangeValuesList()

public List<Report.Value> getAbsoluteChangeValuesList()

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value absolute_change_values = 5;

Returns
Type Description
List<Value>

getAbsoluteChangeValuesOrBuilder(int index)

public Report.ValueOrBuilder getAbsoluteChangeValuesOrBuilder(int index)

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value absolute_change_values = 5;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getAbsoluteChangeValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> getAbsoluteChangeValuesOrBuilderList()

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value absolute_change_values = 5;

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

getComparisonPercentOfTotalValues(int index)

public Report.Value getComparisonPercentOfTotalValues(int index)

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_percent_of_total_values = 4;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getComparisonPercentOfTotalValuesCount()

public int getComparisonPercentOfTotalValuesCount()

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_percent_of_total_values = 4;

Returns
Type Description
int

getComparisonPercentOfTotalValuesList()

public List<Report.Value> getComparisonPercentOfTotalValuesList()

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_percent_of_total_values = 4;

Returns
Type Description
List<Value>

getComparisonPercentOfTotalValuesOrBuilder(int index)

public Report.ValueOrBuilder getComparisonPercentOfTotalValuesOrBuilder(int index)

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_percent_of_total_values = 4;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getComparisonPercentOfTotalValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> getComparisonPercentOfTotalValuesOrBuilderList()

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_percent_of_total_values = 4;

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

getComparisonValues(int index)

public Report.Value getComparisonValues(int index)

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_values = 3;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getComparisonValuesCount()

public int getComparisonValuesCount()

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_values = 3;

Returns
Type Description
int

getComparisonValuesList()

public List<Report.Value> getComparisonValuesList()

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_values = 3;

Returns
Type Description
List<Value>

getComparisonValuesOrBuilder(int index)

public Report.ValueOrBuilder getComparisonValuesOrBuilder(int index)

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_values = 3;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getComparisonValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> getComparisonValuesOrBuilderList()

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.Report.Value comparison_values = 3;

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

getDefaultInstanceForType()

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

getFlagValues(int index)

public boolean getFlagValues(int index)

If true, the flag's conditions are met. If false, the flag's conditions are not met. flag_values has the same length as flags and index i of flag_values represents the flag at index i of flags.

repeated bool flag_values = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
boolean

The flagValues at the given index.

getFlagValuesCount()

public int getFlagValuesCount()

If true, the flag's conditions are met. If false, the flag's conditions are not met. flag_values has the same length as flags and index i of flag_values represents the flag at index i of flags.

repeated bool flag_values = 7;

Returns
Type Description
int

The count of flagValues.

getFlagValuesList()

public List<Boolean> getFlagValuesList()

If true, the flag's conditions are met. If false, the flag's conditions are not met. flag_values has the same length as flags and index i of flag_values represents the flag at index i of flags.

repeated bool flag_values = 7;

Returns
Type Description
List<Boolean>

A list containing the flagValues.

getParserForType()

public Parser<Report.DataTable.MetricValueGroup> getParserForType()
Returns
Type Description
Parser<MetricValueGroup>
Overrides

getPrimaryPercentOfTotalValues(int index)

public Report.Value getPrimaryPercentOfTotalValues(int index)

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_percent_of_total_values = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getPrimaryPercentOfTotalValuesCount()

public int getPrimaryPercentOfTotalValuesCount()

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_percent_of_total_values = 2;

Returns
Type Description
int

getPrimaryPercentOfTotalValuesList()

public List<Report.Value> getPrimaryPercentOfTotalValuesList()

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_percent_of_total_values = 2;

Returns
Type Description
List<Value>

getPrimaryPercentOfTotalValuesOrBuilder(int index)

public Report.ValueOrBuilder getPrimaryPercentOfTotalValuesOrBuilder(int index)

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_percent_of_total_values = 2;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getPrimaryPercentOfTotalValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> getPrimaryPercentOfTotalValuesOrBuilderList()

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_percent_of_total_values = 2;

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

getPrimaryValues(int index)

public Report.Value getPrimaryValues(int index)

Data for the PRIMARY MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getPrimaryValuesCount()

public int getPrimaryValuesCount()

Data for the PRIMARY MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_values = 1;

Returns
Type Description
int

getPrimaryValuesList()

public List<Report.Value> getPrimaryValuesList()

Data for the PRIMARY MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_values = 1;

Returns
Type Description
List<Value>

getPrimaryValuesOrBuilder(int index)

public Report.ValueOrBuilder getPrimaryValuesOrBuilder(int index)

Data for the PRIMARY MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_values = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getPrimaryValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> getPrimaryValuesOrBuilderList()

Data for the PRIMARY MetricValueType.

repeated .google.ads.admanager.v1.Report.Value primary_values = 1;

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

getRelativeChangeValues(int index)

public Report.Value getRelativeChangeValues(int index)

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value relative_change_values = 6;

Parameter
Name Description
index int
Returns
Type Description
Report.Value

getRelativeChangeValuesCount()

public int getRelativeChangeValuesCount()

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value relative_change_values = 6;

Returns
Type Description
int

getRelativeChangeValuesList()

public List<Report.Value> getRelativeChangeValuesList()

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value relative_change_values = 6;

Returns
Type Description
List<Value>

getRelativeChangeValuesOrBuilder(int index)

public Report.ValueOrBuilder getRelativeChangeValuesOrBuilder(int index)

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value relative_change_values = 6;

Parameter
Name Description
index int
Returns
Type Description
Report.ValueOrBuilder

getRelativeChangeValuesOrBuilderList()

public List<? extends Report.ValueOrBuilder> getRelativeChangeValuesOrBuilderList()

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.Report.Value relative_change_values = 6;

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Report.DataTable.MetricValueGroup.Builder newBuilderForType()
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Report.DataTable.MetricValueGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Report.DataTable.MetricValueGroup.Builder toBuilder()
Returns
Type Description
Report.DataTable.MetricValueGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException