Class Report.Filter (0.11.0)

public static final class Report.Filter extends GeneratedMessageV3 implements Report.FilterOrBuilder

A filter over one or more fields.

Protobuf type google.ads.admanager.v1.Report.Filter

Static Fields

AND_FILTER_FIELD_NUMBER

public static final int AND_FILTER_FIELD_NUMBER
Field Value
Type Description
int

FIELD_FILTER_FIELD_NUMBER

public static final int FIELD_FILTER_FIELD_NUMBER
Field Value
Type Description
int

NOT_FILTER_FIELD_NUMBER

public static final int NOT_FILTER_FIELD_NUMBER
Field Value
Type Description
int

OR_FILTER_FIELD_NUMBER

public static final int OR_FILTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Report.Filter getDefaultInstance()
Returns
Type Description
Report.Filter

getDescriptor()

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

newBuilder()

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

newBuilder(Report.Filter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAndFilter()

public Report.Filter.FilterList getAndFilter()

A list of filters whose results are AND-ed.

.google.ads.admanager.v1.Report.Filter.FilterList and_filter = 3;

Returns
Type Description
Report.Filter.FilterList

The andFilter.

getAndFilterOrBuilder()

public Report.Filter.FilterListOrBuilder getAndFilterOrBuilder()

A list of filters whose results are AND-ed.

.google.ads.admanager.v1.Report.Filter.FilterList and_filter = 3;

Returns
Type Description
Report.Filter.FilterListOrBuilder

getDefaultInstanceForType()

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

getFieldFilter()

public Report.Filter.FieldFilter getFieldFilter()

A filter on a single field.

.google.ads.admanager.v1.Report.Filter.FieldFilter field_filter = 1;

Returns
Type Description
Report.Filter.FieldFilter

The fieldFilter.

getFieldFilterOrBuilder()

public Report.Filter.FieldFilterOrBuilder getFieldFilterOrBuilder()

A filter on a single field.

.google.ads.admanager.v1.Report.Filter.FieldFilter field_filter = 1;

Returns
Type Description
Report.Filter.FieldFilterOrBuilder

getNotFilter()

public Report.Filter getNotFilter()

A filter whose result is negated.

.google.ads.admanager.v1.Report.Filter not_filter = 2;

Returns
Type Description
Report.Filter

The notFilter.

getNotFilterOrBuilder()

public Report.FilterOrBuilder getNotFilterOrBuilder()

A filter whose result is negated.

.google.ads.admanager.v1.Report.Filter not_filter = 2;

Returns
Type Description
Report.FilterOrBuilder

getOrFilter()

public Report.Filter.FilterList getOrFilter()

A list of filters whose results are OR-ed.

.google.ads.admanager.v1.Report.Filter.FilterList or_filter = 4;

Returns
Type Description
Report.Filter.FilterList

The orFilter.

getOrFilterOrBuilder()

public Report.Filter.FilterListOrBuilder getOrFilterOrBuilder()

A list of filters whose results are OR-ed.

.google.ads.admanager.v1.Report.Filter.FilterList or_filter = 4;

Returns
Type Description
Report.Filter.FilterListOrBuilder

getParserForType()

public Parser<Report.Filter> getParserForType()
Returns
Type Description
Parser<Filter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeCase()

public Report.Filter.TypeCase getTypeCase()
Returns
Type Description
Report.Filter.TypeCase

hasAndFilter()

public boolean hasAndFilter()

A list of filters whose results are AND-ed.

.google.ads.admanager.v1.Report.Filter.FilterList and_filter = 3;

Returns
Type Description
boolean

Whether the andFilter field is set.

hasFieldFilter()

public boolean hasFieldFilter()

A filter on a single field.

.google.ads.admanager.v1.Report.Filter.FieldFilter field_filter = 1;

Returns
Type Description
boolean

Whether the fieldFilter field is set.

hasNotFilter()

public boolean hasNotFilter()

A filter whose result is negated.

.google.ads.admanager.v1.Report.Filter not_filter = 2;

Returns
Type Description
boolean

Whether the notFilter field is set.

hasOrFilter()

public boolean hasOrFilter()

A list of filters whose results are OR-ed.

.google.ads.admanager.v1.Report.Filter.FilterList or_filter = 4;

Returns
Type Description
boolean

Whether the orFilter 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.Filter.Builder newBuilderForType()
Returns
Type Description
Report.Filter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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