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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllFilters(Iterable<? extends Filter> values)
public CompositeFilter.Builder addAllFilters(Iterable<? extends Filter> values)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.datastore.v1.Filter>
|
addFilters(Filter value)
public CompositeFilter.Builder addFilters(Filter value)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
value | Filter
|
addFilters(Filter.Builder builderForValue)
public CompositeFilter.Builder addFilters(Filter.Builder builderForValue)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
addFilters(int index, Filter value)
public CompositeFilter.Builder addFilters(int index, Filter value)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
addFilters(int index, Filter.Builder builderForValue)
public CompositeFilter.Builder addFilters(int index, Filter.Builder builderForValue)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
addFiltersBuilder()
public Filter.Builder addFiltersBuilder()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
addFiltersBuilder(int index)
public Filter.Builder addFiltersBuilder(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompositeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CompositeFilter build()
buildPartial()
public CompositeFilter buildPartial()
clear()
public CompositeFilter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CompositeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilters()
public CompositeFilter.Builder clearFilters()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public CompositeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOp()
public CompositeFilter.Builder clearOp()
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
clone()
public CompositeFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public CompositeFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilters(int index)
public Filter getFilters(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
index | int
|
getFiltersBuilder(int index)
public Filter.Builder getFiltersBuilder(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
index | int
|
getFiltersBuilderList()
public List<Filter.Builder> getFiltersBuilderList()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
getFiltersCount()
public int getFiltersCount()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Returns |
---|
Type | Description |
int | |
getFiltersList()
public List<Filter> getFiltersList()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
getFiltersOrBuilder(int index)
public FilterOrBuilder getFiltersOrBuilder(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
index | int
|
getFiltersOrBuilderList()
public List<? extends FilterOrBuilder> getFiltersOrBuilderList()
The list of filters to combine.
Requires:
- At least one filter is present.
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CompositeFilter other)
public CompositeFilter.Builder mergeFrom(CompositeFilter other)
public CompositeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CompositeFilter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompositeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFilters(int index)
public CompositeFilter.Builder removeFilters(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public CompositeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilters(int index, Filter value)
public CompositeFilter.Builder setFilters(int index, Filter value)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
setFilters(int index, Filter.Builder builderForValue)
public CompositeFilter.Builder setFilters(int index, Filter.Builder builderForValue)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.datastore.v1.Filter filters = 2;
setOp(CompositeFilter.Operator value)
public CompositeFilter.Builder setOp(CompositeFilter.Operator value)
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompositeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CompositeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides