Class Report.Field (0.12.0)

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

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()
Returns
Type Description
Report.Field

getDescriptor()

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

newBuilder()

public static Report.Field.Builder newBuilder()
Returns
Type Description
Report.Field.Builder

newBuilder(Report.Field prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Report.Field getDefaultInstanceForType()
Returns
Type Description
Report.Field

getDimension()

public Report.Dimension getDimension()

The dimension this field represents.

.google.ads.admanager.v1.Report.Dimension dimension = 1;

Returns
Type Description
Report.Dimension

The dimension.

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()
Returns
Type Description
Report.Field.FieldCase

getMetric()

public Report.Metric getMetric()

The metric this field represents.

.google.ads.admanager.v1.Report.Metric metric = 2;

Returns
Type Description
Report.Metric

The metric.

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()
Returns
Type Description
Parser<Field>
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()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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