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