Class ReportDataTable.MetricValueGroup (0.39.0)

public static final class ReportDataTable.MetricValueGroup extends GeneratedMessageV3 implements ReportDataTable.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.ReportDataTable.MetricValueGroup

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportDataTable.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 ReportDataTable.MetricValueGroup getDefaultInstance()
Returns
Type Description
ReportDataTable.MetricValueGroup

getDescriptor()

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

newBuilder()

public static ReportDataTable.MetricValueGroup.Builder newBuilder()
Returns
Type Description
ReportDataTable.MetricValueGroup.Builder

newBuilder(ReportDataTable.MetricValueGroup prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ReportDataTable.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 ReportValue getAbsoluteChangeValues(int index)

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getAbsoluteChangeValuesCount()

public int getAbsoluteChangeValuesCount()

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5;

Returns
Type Description
int

getAbsoluteChangeValuesList()

public List<ReportValue> getAbsoluteChangeValuesList()

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5;

Returns
Type Description
List<ReportValue>

getAbsoluteChangeValuesOrBuilder(int index)

public ReportValueOrBuilder getAbsoluteChangeValuesOrBuilder(int index)

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getAbsoluteChangeValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getAbsoluteChangeValuesOrBuilderList()

Data for the ABSOLUTE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue absolute_change_values = 5;

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

getComparisonPercentOfTotalValues(int index)

public ReportValue getComparisonPercentOfTotalValues(int index)

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getComparisonPercentOfTotalValuesCount()

public int getComparisonPercentOfTotalValuesCount()

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4;

Returns
Type Description
int

getComparisonPercentOfTotalValuesList()

public List<ReportValue> getComparisonPercentOfTotalValuesList()

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4;

Returns
Type Description
List<ReportValue>

getComparisonPercentOfTotalValuesOrBuilder(int index)

public ReportValueOrBuilder getComparisonPercentOfTotalValuesOrBuilder(int index)

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getComparisonPercentOfTotalValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getComparisonPercentOfTotalValuesOrBuilderList()

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_percent_of_total_values = 4;

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

getComparisonValues(int index)

public ReportValue getComparisonValues(int index)

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_values = 3;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getComparisonValuesCount()

public int getComparisonValuesCount()

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_values = 3;

Returns
Type Description
int

getComparisonValuesList()

public List<ReportValue> getComparisonValuesList()

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_values = 3;

Returns
Type Description
List<ReportValue>

getComparisonValuesOrBuilder(int index)

public ReportValueOrBuilder getComparisonValuesOrBuilder(int index)

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_values = 3;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getComparisonValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getComparisonValuesOrBuilderList()

Data for the COMPARISON MetricValueType.

repeated .google.ads.admanager.v1.ReportValue comparison_values = 3;

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

getDefaultInstanceForType()

public ReportDataTable.MetricValueGroup getDefaultInstanceForType()
Returns
Type Description
ReportDataTable.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<ReportDataTable.MetricValueGroup> getParserForType()
Returns
Type Description
Parser<MetricValueGroup>
Overrides

getPrimaryPercentOfTotalValues(int index)

public ReportValue getPrimaryPercentOfTotalValues(int index)

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getPrimaryPercentOfTotalValuesCount()

public int getPrimaryPercentOfTotalValuesCount()

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2;

Returns
Type Description
int

getPrimaryPercentOfTotalValuesList()

public List<ReportValue> getPrimaryPercentOfTotalValuesList()

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2;

Returns
Type Description
List<ReportValue>

getPrimaryPercentOfTotalValuesOrBuilder(int index)

public ReportValueOrBuilder getPrimaryPercentOfTotalValuesOrBuilder(int index)

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getPrimaryPercentOfTotalValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getPrimaryPercentOfTotalValuesOrBuilderList()

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

repeated .google.ads.admanager.v1.ReportValue primary_percent_of_total_values = 2;

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

getPrimaryValues(int index)

public ReportValue getPrimaryValues(int index)

Data for the PRIMARY MetricValueType.

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

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getPrimaryValuesCount()

public int getPrimaryValuesCount()

Data for the PRIMARY MetricValueType.

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

Returns
Type Description
int

getPrimaryValuesList()

public List<ReportValue> getPrimaryValuesList()

Data for the PRIMARY MetricValueType.

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

Returns
Type Description
List<ReportValue>

getPrimaryValuesOrBuilder(int index)

public ReportValueOrBuilder getPrimaryValuesOrBuilder(int index)

Data for the PRIMARY MetricValueType.

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

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getPrimaryValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getPrimaryValuesOrBuilderList()

Data for the PRIMARY MetricValueType.

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

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

getRelativeChangeValues(int index)

public ReportValue getRelativeChangeValues(int index)

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getRelativeChangeValuesCount()

public int getRelativeChangeValuesCount()

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6;

Returns
Type Description
int

getRelativeChangeValuesList()

public List<ReportValue> getRelativeChangeValuesList()

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6;

Returns
Type Description
List<ReportValue>

getRelativeChangeValuesOrBuilder(int index)

public ReportValueOrBuilder getRelativeChangeValuesOrBuilder(int index)

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getRelativeChangeValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getRelativeChangeValuesOrBuilderList()

Data for the RELATIVE_CHANGE MetricValueType.

repeated .google.ads.admanager.v1.ReportValue relative_change_values = 6;

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

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 ReportDataTable.MetricValueGroup.Builder newBuilderForType()
Returns
Type Description
ReportDataTable.MetricValueGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportDataTable.MetricValueGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportDataTable.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 ReportDataTable.MetricValueGroup.Builder toBuilder()
Returns
Type Description
ReportDataTable.MetricValueGroup.Builder

writeTo(CodedOutputStream output)

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