Class Filter.Builder (2.24.3)

public static final class Filter.Builder extends GeneratedMessageV3.Builder<Filter.Builder> implements FilterOrBuilder

A holder for any type of filter.

Protobuf type google.datastore.v1.Filter

Implements

FilterOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Filter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Filter.Builder
Overrides

build()

public Filter build()
Returns
Type Description
Filter

buildPartial()

public Filter buildPartial()
Returns
Type Description
Filter

clear()

public Filter.Builder clear()
Returns
Type Description
Filter.Builder
Overrides

clearCompositeFilter()

public Filter.Builder clearCompositeFilter()

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Returns
Type Description
Filter.Builder

clearField(Descriptors.FieldDescriptor field)

public Filter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Filter.Builder
Overrides

clearFilterType()

public Filter.Builder clearFilterType()
Returns
Type Description
Filter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Filter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Filter.Builder
Overrides

clearPropertyFilter()

public Filter.Builder clearPropertyFilter()

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Returns
Type Description
Filter.Builder

clone()

public Filter.Builder clone()
Returns
Type Description
Filter.Builder
Overrides

getCompositeFilter()

public CompositeFilter getCompositeFilter()

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Returns
Type Description
CompositeFilter

The compositeFilter.

getCompositeFilterBuilder()

public CompositeFilter.Builder getCompositeFilterBuilder()

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Returns
Type Description
CompositeFilter.Builder

getCompositeFilterOrBuilder()

public CompositeFilterOrBuilder getCompositeFilterOrBuilder()

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Returns
Type Description
CompositeFilterOrBuilder

getDefaultInstanceForType()

public Filter getDefaultInstanceForType()
Returns
Type Description
Filter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilterTypeCase()

public Filter.FilterTypeCase getFilterTypeCase()
Returns
Type Description
Filter.FilterTypeCase

getPropertyFilter()

public PropertyFilter getPropertyFilter()

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Returns
Type Description
PropertyFilter

The propertyFilter.

getPropertyFilterBuilder()

public PropertyFilter.Builder getPropertyFilterBuilder()

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Returns
Type Description
PropertyFilter.Builder

getPropertyFilterOrBuilder()

public PropertyFilterOrBuilder getPropertyFilterOrBuilder()

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Returns
Type Description
PropertyFilterOrBuilder

hasCompositeFilter()

public boolean hasCompositeFilter()

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Returns
Type Description
boolean

Whether the compositeFilter field is set.

hasPropertyFilter()

public boolean hasPropertyFilter()

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Returns
Type Description
boolean

Whether the propertyFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompositeFilter(CompositeFilter value)

public Filter.Builder mergeCompositeFilter(CompositeFilter value)

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Parameter
Name Description
value CompositeFilter
Returns
Type Description
Filter.Builder

mergeFrom(Filter other)

public Filter.Builder mergeFrom(Filter other)
Parameter
Name Description
other Filter
Returns
Type Description
Filter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Filter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Filter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Filter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Filter.Builder
Overrides

mergePropertyFilter(PropertyFilter value)

public Filter.Builder mergePropertyFilter(PropertyFilter value)

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Parameter
Name Description
value PropertyFilter
Returns
Type Description
Filter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Filter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Filter.Builder
Overrides

setCompositeFilter(CompositeFilter value)

public Filter.Builder setCompositeFilter(CompositeFilter value)

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Parameter
Name Description
value CompositeFilter
Returns
Type Description
Filter.Builder

setCompositeFilter(CompositeFilter.Builder builderForValue)

public Filter.Builder setCompositeFilter(CompositeFilter.Builder builderForValue)

A composite filter.

.google.datastore.v1.CompositeFilter composite_filter = 1;

Parameter
Name Description
builderForValue CompositeFilter.Builder
Returns
Type Description
Filter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Filter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Filter.Builder
Overrides

setPropertyFilter(PropertyFilter value)

public Filter.Builder setPropertyFilter(PropertyFilter value)

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Parameter
Name Description
value PropertyFilter
Returns
Type Description
Filter.Builder

setPropertyFilter(PropertyFilter.Builder builderForValue)

public Filter.Builder setPropertyFilter(PropertyFilter.Builder builderForValue)

A filter on a property.

.google.datastore.v1.PropertyFilter property_filter = 2;

Parameter
Name Description
builderForValue PropertyFilter.Builder
Returns
Type Description
Filter.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Filter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Filter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Filter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Filter.Builder
Overrides