Send feedback
Class ReportDefinition.Filter.FieldFilter (0.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class ReportDefinition . Filter . FieldFilter extends GeneratedMessageV3 implements ReportDefinition . Filter . FieldFilterOrBuilder
A filter on a specific field.
Protobuf type google.ads.admanager.v1.ReportDefinition.Filter.FieldFilter
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
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value
Type
Description
int
METRIC_VALUE_TYPE_FIELD_NUMBER
public static final int METRIC_VALUE_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
Field Value
Type
Description
int
SLICE_FIELD_NUMBER
public static final int SLICE_FIELD_NUMBER
Field Value
Type
Description
int
TIME_PERIOD_INDEX_FIELD_NUMBER
public static final int TIME_PERIOD_INDEX_FIELD_NUMBER
Field Value
Type
Description
int
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ReportDefinition . Filter . FieldFilter getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ReportDefinition . Filter . FieldFilter . Builder newBuilder ()
newBuilder(ReportDefinition.Filter.FieldFilter prototype)
public static ReportDefinition . Filter . FieldFilter . Builder newBuilder ( ReportDefinition . Filter . FieldFilter prototype )
public static ReportDefinition . Filter . FieldFilter parseDelimitedFrom ( InputStream input )
public static ReportDefinition . Filter . FieldFilter parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ReportDefinition . Filter . FieldFilter parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition . Filter . FieldFilter parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ReportDefinition . Filter . FieldFilter parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition . Filter . FieldFilter parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ReportDefinition . Filter . FieldFilter parseFrom ( CodedInputStream input )
public static ReportDefinition . Filter . FieldFilter parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ReportDefinition . Filter . FieldFilter parseFrom ( InputStream input )
public static ReportDefinition . Filter . FieldFilter parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ReportDefinition . Filter . FieldFilter parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReportDefinition . Filter . FieldFilter parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ReportDefinition . Filter . FieldFilter > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public ReportDefinition . Filter . FieldFilter getDefaultInstanceForType ()
getField()
public ReportDefinition . Field getField ()
Required. The field to filter on.
.google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
getFieldOrBuilder()
public ReportDefinition . FieldOrBuilder getFieldOrBuilder ()
Required. The field to filter on.
.google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricValueType()
public ReportDefinition . MetricValueType getMetricValueType ()
Optional. Use to specify which metric value type to filter on. Defaults
to PRIMARY.
optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 6 [(.google.api.field_behavior) = OPTIONAL];
getMetricValueTypeValue()
public int getMetricValueTypeValue ()
Optional. Use to specify which metric value type to filter on. Defaults
to PRIMARY.
optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for metricValueType.
getOperation()
public ReportDefinition . Filter . Operation getOperation ()
Required. The operation of this filter.
.google.ads.admanager.v1.ReportDefinition.Filter.Operation operation = 2 [(.google.api.field_behavior) = REQUIRED];
getOperationValue()
public int getOperationValue ()
Required. The operation of this filter.
.google.ads.admanager.v1.ReportDefinition.Filter.Operation operation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The enum numeric value on the wire for operation.
getParserForType()
public Parser<ReportDefinition . Filter . FieldFilter > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSlice()
public ReportDefinition . Slice getSlice ()
Optional. Use to filter on a specific slice of data.
optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 4 [(.google.api.field_behavior) = OPTIONAL];
getSliceOrBuilder()
public ReportDefinition . SliceOrBuilder getSliceOrBuilder ()
Optional. Use to filter on a specific slice of data.
optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 4 [(.google.api.field_behavior) = OPTIONAL];
getTimePeriodIndex()
public int getTimePeriodIndex ()
Optional. When using time period columns, use this to filter on a
specific column.
optional int32 time_period_index = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The timePeriodIndex.
getValues(int index)
public ReportValue getValues ( int index )
Required. Values to filter to.
repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
getValuesCount()
public int getValuesCount ()
Required. Values to filter to.
repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
getValuesList()
public List<ReportValue> getValuesList ()
Required. Values to filter to.
repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED];
getValuesOrBuilder(int index)
public ReportValueOrBuilder getValuesOrBuilder ( int index )
Required. Values to filter to.
repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
getValuesOrBuilderList()
public List <? extends ReportValueOrBuilder > getValuesOrBuilderList ()
Required. Values to filter to.
repeated .google.ads.admanager.v1.ReportValue values = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
List <? extends com.google.ads.admanager.v1.ReportValueOrBuilder >
hasField()
public boolean hasField ()
Required. The field to filter on.
.google.ads.admanager.v1.ReportDefinition.Field field = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the field field is set.
hasMetricValueType()
public boolean hasMetricValueType ()
Optional. Use to specify which metric value type to filter on. Defaults
to PRIMARY.
optional .google.ads.admanager.v1.ReportDefinition.MetricValueType metric_value_type = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the metricValueType field is set.
hasSlice()
public boolean hasSlice ()
Optional. Use to filter on a specific slice of data.
optional .google.ads.admanager.v1.ReportDefinition.Slice slice = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the slice field is set.
hasTimePeriodIndex()
public boolean hasTimePeriodIndex ()
Optional. When using time period columns, use this to filter on a
specific column.
optional int32 time_period_index = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the timePeriodIndex field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ReportDefinition . Filter . FieldFilter . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReportDefinition . Filter . FieldFilter . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ReportDefinition . Filter . FieldFilter . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-19 UTC."],[],[]]