public static final class ReportDefinition.Field extends GeneratedMessage implements ReportDefinition.FieldOrBuilderA dimension or a metric in a report.
Protobuf type google.ads.admanager.v1.ReportDefinition.Field
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ReportDefinition.FieldImplements
ReportDefinition.FieldOrBuilderStatic 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 ReportDefinition.Field getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ReportDefinition.Field.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field.Builder |
|
newBuilder(ReportDefinition.Field prototype)
public static ReportDefinition.Field.Builder newBuilder(ReportDefinition.Field prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ReportDefinition.Field |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field.Builder |
|
parseDelimitedFrom(InputStream input)
public static ReportDefinition.Field parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.Field parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ReportDefinition.Field parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.Field parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ReportDefinition.Field parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.Field parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ReportDefinition.Field parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.Field parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ReportDefinition.Field parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.Field parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ReportDefinition.Field parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition.Field parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ReportDefinition.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 |
|
getDefaultInstanceForType()
public ReportDefinition.Field getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field |
|
getDimension()
public ReportDefinition.Dimension getDimension()The dimension this field represents.
.google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1;
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Dimension |
The dimension. |
getDimensionValue()
public int getDimensionValue()The dimension this field represents.
.google.ads.admanager.v1.ReportDefinition.Dimension dimension = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dimension. |
getFieldCase()
public ReportDefinition.Field.FieldCase getFieldCase()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field.FieldCase |
|
getMetric()
public ReportDefinition.Metric getMetric()The metric this field represents.
.google.ads.admanager.v1.ReportDefinition.Metric metric = 2;
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Metric |
The metric. |
getMetricValue()
public int getMetricValue()The metric this field represents.
.google.ads.admanager.v1.ReportDefinition.Metric metric = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for metric. |
getParserForType()
public Parser<ReportDefinition.Field> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Field> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasDimension()
public boolean hasDimension()The dimension this field represents.
.google.ads.admanager.v1.ReportDefinition.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.ReportDefinition.Metric metric = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metric field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ReportDefinition.Field.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ReportDefinition.Field.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field.Builder |
|
toBuilder()
public ReportDefinition.Field.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ReportDefinition.Field.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|