public static final class CompositeFilter.Builder extends GeneratedMessageV3.Builder<CompositeFilter.Builder> implements CompositeFilterOrBuilder
A filter that merges multiple other filters using the given operator.
Protobuf type google.datastore.v1.CompositeFilter
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllFilters(Iterable<? extends Filter> values)
public CompositeFilter.Builder addAllFilters(Iterable<? extends Filter> values)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.datastore.v1.Filter>
|
Returns
addFilters(Filter value)
public CompositeFilter.Builder addFilters(Filter value)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
addFilters(Filter.Builder builderForValue)
public CompositeFilter.Builder addFilters(Filter.Builder builderForValue)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
addFilters(int index, Filter value)
public CompositeFilter.Builder addFilters(int index, Filter value)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameters
Returns
addFilters(int index, Filter.Builder builderForValue)
public CompositeFilter.Builder addFilters(int index, Filter.Builder builderForValue)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameters
Returns
addFiltersBuilder()
public Filter.Builder addFiltersBuilder()
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Returns
addFiltersBuilder(int index)
public Filter.Builder addFiltersBuilder(int index)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompositeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CompositeFilter build()
Returns
buildPartial()
public CompositeFilter buildPartial()
Returns
clear()
public CompositeFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CompositeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFilters()
public CompositeFilter.Builder clearFilters()
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CompositeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOp()
public CompositeFilter.Builder clearOp()
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
Returns
clone()
public CompositeFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CompositeFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFilters(int index)
public Filter getFilters(int index)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
getFiltersBuilder(int index)
public Filter.Builder getFiltersBuilder(int index)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
getFiltersBuilderList()
public List<Filter.Builder> getFiltersBuilderList()
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Returns
getFiltersCount()
public int getFiltersCount()
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Returns
getFiltersList()
public List<Filter> getFiltersList()
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Returns
getFiltersOrBuilder(int index)
public FilterOrBuilder getFiltersOrBuilder(int index)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
getFiltersOrBuilderList()
public List<? extends FilterOrBuilder> getFiltersOrBuilderList()
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Returns
Type | Description |
List<? extends com.google.datastore.v1.FilterOrBuilder> | |
getOp()
public CompositeFilter.Operator getOp()
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
Returns
getOpValue()
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for op.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CompositeFilter other)
public CompositeFilter.Builder mergeFrom(CompositeFilter other)
Parameter
Returns
public CompositeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CompositeFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompositeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFilters(int index)
public CompositeFilter.Builder removeFilters(int index)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CompositeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFilters(int index, Filter value)
public CompositeFilter.Builder setFilters(int index, Filter value)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameters
Returns
setFilters(int index, Filter.Builder builderForValue)
public CompositeFilter.Builder setFilters(int index, Filter.Builder builderForValue)
The list of filters to combine.
Must contain at least one filter.
repeated .google.datastore.v1.Filter filters = 2;
Parameters
Returns
setOp(CompositeFilter.Operator value)
public CompositeFilter.Builder setOp(CompositeFilter.Operator value)
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
Parameter
Returns
setOpValue(int value)
public CompositeFilter.Builder setOpValue(int value)
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for op to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompositeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CompositeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides