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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Filter.BuilderImplements
FilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Filter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Filter.Builder |
build()
public Filter build()
Type | Description |
Filter |
buildPartial()
public Filter buildPartial()
Type | Description |
Filter |
clear()
public Filter.Builder clear()
Type | Description |
Filter.Builder |
clearCompositeFilter()
public Filter.Builder clearCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
Filter.Builder |
clearField(Descriptors.FieldDescriptor field)
public Filter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Filter.Builder |
clearFilterType()
public Filter.Builder clearFilterType()
Type | Description |
Filter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Filter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Filter.Builder |
clearPropertyFilter()
public Filter.Builder clearPropertyFilter()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
Filter.Builder |
clone()
public Filter.Builder clone()
Type | Description |
Filter.Builder |
getCompositeFilter()
public CompositeFilter getCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
CompositeFilter | The compositeFilter. |
getCompositeFilterBuilder()
public CompositeFilter.Builder getCompositeFilterBuilder()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
CompositeFilter.Builder |
getCompositeFilterOrBuilder()
public CompositeFilterOrBuilder getCompositeFilterOrBuilder()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
CompositeFilterOrBuilder |
getDefaultInstanceForType()
public Filter getDefaultInstanceForType()
Type | Description |
Filter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFilterTypeCase()
public Filter.FilterTypeCase getFilterTypeCase()
Type | Description |
Filter.FilterTypeCase |
getPropertyFilter()
public PropertyFilter getPropertyFilter()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
PropertyFilter | The propertyFilter. |
getPropertyFilterBuilder()
public PropertyFilter.Builder getPropertyFilterBuilder()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
PropertyFilter.Builder |
getPropertyFilterOrBuilder()
public PropertyFilterOrBuilder getPropertyFilterOrBuilder()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
PropertyFilterOrBuilder |
hasCompositeFilter()
public boolean hasCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
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;
Type | Description |
boolean | Whether the propertyFilter field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCompositeFilter(CompositeFilter value)
public Filter.Builder mergeCompositeFilter(CompositeFilter value)
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Name | Description |
value | CompositeFilter |
Type | Description |
Filter.Builder |
mergeFrom(Filter other)
public Filter.Builder mergeFrom(Filter other)
Name | Description |
other | Filter |
Type | Description |
Filter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Filter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Filter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Filter.Builder |
mergePropertyFilter(PropertyFilter value)
public Filter.Builder mergePropertyFilter(PropertyFilter value)
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Name | Description |
value | PropertyFilter |
Type | Description |
Filter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Filter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Filter.Builder |
setCompositeFilter(CompositeFilter value)
public Filter.Builder setCompositeFilter(CompositeFilter value)
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Name | Description |
value | CompositeFilter |
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;
Name | Description |
builderForValue | CompositeFilter.Builder |
Type | Description |
Filter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Filter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Filter.Builder |
setPropertyFilter(PropertyFilter value)
public Filter.Builder setPropertyFilter(PropertyFilter value)
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Name | Description |
value | PropertyFilter |
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;
Name | Description |
builderForValue | PropertyFilter.Builder |
Type | Description |
Filter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Filter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Filter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Filter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Filter.Builder |