public static final class Report.Field.Builder extends GeneratedMessageV3.Builder<Report.Field.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Report.Field.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Report.Field build()
buildPartial()
public Report.Field buildPartial()
clear()
public Report.Field.Builder clear()
Overrides
clearDimension()
public Report.Field.Builder clearDimension()
The dimension this field represents.
.google.ads.admanager.v1.Report.Dimension dimension = 1;
clearField()
public Report.Field.Builder clearField()
clearField(Descriptors.FieldDescriptor field)
public Report.Field.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetric()
public Report.Field.Builder clearMetric()
The metric this field represents.
.google.ads.admanager.v1.Report.Metric metric = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Report.Field.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Report.Field.Builder clone()
Overrides
getDefaultInstanceForType()
public Report.Field getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Report.Field other)
public Report.Field.Builder mergeFrom(Report.Field other)
public Report.Field.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Report.Field.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Report.Field.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDimension(Report.Dimension value)
public Report.Field.Builder setDimension(Report.Dimension value)
The dimension this field represents.
.google.ads.admanager.v1.Report.Dimension dimension = 1;
setDimensionValue(int value)
public Report.Field.Builder setDimensionValue(int value)
The dimension this field represents.
.google.ads.admanager.v1.Report.Dimension dimension = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for dimension to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Report.Field.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMetric(Report.Metric value)
public Report.Field.Builder setMetric(Report.Metric value)
The metric this field represents.
.google.ads.admanager.v1.Report.Metric metric = 2;
setMetricValue(int value)
public Report.Field.Builder setMetricValue(int value)
The metric this field represents.
.google.ads.admanager.v1.Report.Metric metric = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for metric to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Report.Field.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Report.Field.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides