Send feedback
Class Filter.Builder (2.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.0 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Filter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Filter buildPartial ()
Returns
clear()
public Filter . Builder clear ()
Returns
Overrides
clearCompositeFilter()
public Filter . Builder clearCompositeFilter ()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Filter . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearFilterType()
public Filter . Builder clearFilterType ()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Filter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPropertyFilter()
public Filter . Builder clearPropertyFilter ()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Returns
clone()
public Filter . Builder clone ()
Returns
Overrides
getCompositeFilter()
public CompositeFilter getCompositeFilter ()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Returns
getCompositeFilterBuilder()
public CompositeFilter . Builder getCompositeFilterBuilder ()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Returns
getCompositeFilterOrBuilder()
public CompositeFilterOrBuilder getCompositeFilterOrBuilder ()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Returns
getDefaultInstanceForType()
public Filter getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getFilterTypeCase()
public Filter . FilterTypeCase getFilterTypeCase ()
Returns
getPropertyFilter()
public PropertyFilter getPropertyFilter ()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Returns
getPropertyFilterBuilder()
public PropertyFilter . Builder getPropertyFilterBuilder ()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Returns
getPropertyFilterOrBuilder()
public PropertyFilterOrBuilder getPropertyFilterOrBuilder ()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeCompositeFilter(CompositeFilter value)
public Filter . Builder mergeCompositeFilter ( CompositeFilter value )
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Parameter
Returns
mergeFrom(Filter other)
public Filter . Builder mergeFrom ( Filter other )
Parameter
Returns
public Filter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Filter . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergePropertyFilter(PropertyFilter value)
public Filter . Builder mergePropertyFilter ( PropertyFilter value )
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Filter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCompositeFilter(CompositeFilter value)
public Filter . Builder setCompositeFilter ( CompositeFilter value )
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Parameter
Returns
setCompositeFilter(CompositeFilter.Builder builderForValue)
public Filter . Builder setCompositeFilter ( CompositeFilter . Builder builderForValue )
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Filter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPropertyFilter(PropertyFilter value)
public Filter . Builder setPropertyFilter ( PropertyFilter value )
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Parameter
Returns
setPropertyFilter(PropertyFilter.Builder builderForValue)
public Filter . Builder setPropertyFilter ( PropertyFilter . Builder builderForValue )
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Filter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Filter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-01-27 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-01-27 UTC."],[],[]]