Class Report.Field (0.17.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.17.0keyboard_arrow_down
public static final class Report . Field extends GeneratedMessageV3 implements Report . FieldOrBuilder
A dimension or a metric in a report.
Protobuf type google.ads.admanager.v1.Report.Field
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
Field Value
Type
Description
int
METRIC_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Report . Field getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Report . Field . Builder newBuilder ()
newBuilder(Report.Field prototype)
public static Report . Field . Builder newBuilder ( Report . Field prototype )
public static Report . Field parseDelimitedFrom ( InputStream input )
public static Report . Field parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Report . Field parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Report . Field parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Report . Field parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Report . Field parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Report . Field parseFrom ( CodedInputStream input )
public static Report . Field parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Report . Field parseFrom ( InputStream input )
public static Report . Field parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Report . Field parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Report . Field parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Report . Field > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Report . Field getDefaultInstanceForType ()
getDimension()
public Report . Dimension getDimension ()
The dimension this field represents.
.google.ads.admanager.v1.Report.Dimension dimension = 1;
getDimensionValue()
public int getDimensionValue ()
The dimension this field represents.
.google.ads.admanager.v1.Report.Dimension dimension = 1;
Returns
Type
Description
int
The enum numeric value on the wire for dimension.
getFieldCase()
public Report . Field . FieldCase getFieldCase ()
getMetric()
public Report . Metric getMetric ()
The metric this field represents.
.google.ads.admanager.v1.Report.Metric metric = 2;
getMetricValue()
public int getMetricValue ()
The metric this field represents.
.google.ads.admanager.v1.Report.Metric metric = 2;
Returns
Type
Description
int
The enum numeric value on the wire for metric.
getParserForType()
public Parser<Report . Field > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasDimension()
public boolean hasDimension ()
The dimension this field represents.
.google.ads.admanager.v1.Report.Dimension dimension = 1;
Returns
Type
Description
boolean
Whether the dimension field is set.
hasMetric()
public boolean hasMetric ()
The metric this field represents.
.google.ads.admanager.v1.Report.Metric metric = 2;
Returns
Type
Description
boolean
Whether the metric field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Report . Field . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Report . Field . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Report . Field . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["This document outlines the `Report.Field` class within the `com.google.ads.admanager.v1` package, used for representing a dimension or metric in a report for the Ad Manager API."],["The `Report.Field` class extends `GeneratedMessageV3` and implements `Report.FieldOrBuilder`, providing methods for data management and manipulation, along with a comprehensive list of inherited members."],["It details static fields like `DIMENSION_FIELD_NUMBER` and `METRIC_FIELD_NUMBER`, representing the unique identifiers for dimensions and metrics within the report."],["The document includes static methods for creating instances, parsing data from various input types, and retrieving metadata, including the descriptor and parser for the `Report.Field` type."],["Methods for accessing dimension and metric values, checking for their presence, calculating object size, and managing the object's lifecycle, including equality, hash code, initialization, and builder patterns, are all defined within this documentation."]]],[]]