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