public static final class StructuredQuery.Filter.Builder extends GeneratedMessageV3.Builder<StructuredQuery.Filter.Builder> implements StructuredQuery.FilterOrBuilder
A filter.
Protobuf type google.firestore.v1.StructuredQuery.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 StructuredQuery.Filter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StructuredQuery.Filter build()
buildPartial()
public StructuredQuery.Filter buildPartial()
clear()
public StructuredQuery.Filter.Builder clear()
Overrides
clearCompositeFilter()
public StructuredQuery.Filter.Builder clearCompositeFilter()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery.Filter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFieldFilter()
public StructuredQuery.Filter.Builder clearFieldFilter()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
clearFilterType()
public StructuredQuery.Filter.Builder clearFilterType()
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery.Filter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUnaryFilter()
public StructuredQuery.Filter.Builder clearUnaryFilter()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
clone()
public StructuredQuery.Filter.Builder clone()
Overrides
getCompositeFilter()
public StructuredQuery.CompositeFilter getCompositeFilter()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
getCompositeFilterBuilder()
public StructuredQuery.CompositeFilter.Builder getCompositeFilterBuilder()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
getCompositeFilterOrBuilder()
public StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
getDefaultInstanceForType()
public StructuredQuery.Filter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFieldFilter()
public StructuredQuery.FieldFilter getFieldFilter()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
getFieldFilterBuilder()
public StructuredQuery.FieldFilter.Builder getFieldFilterBuilder()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
getFieldFilterOrBuilder()
public StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
getFilterTypeCase()
public StructuredQuery.Filter.FilterTypeCase getFilterTypeCase()
getUnaryFilter()
public StructuredQuery.UnaryFilter getUnaryFilter()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
getUnaryFilterBuilder()
public StructuredQuery.UnaryFilter.Builder getUnaryFilterBuilder()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
getUnaryFilterOrBuilder()
public StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
hasCompositeFilter()
public boolean hasCompositeFilter()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Returns |
---|
Type | Description |
boolean | Whether the compositeFilter field is set.
|
hasFieldFilter()
public boolean hasFieldFilter()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Returns |
---|
Type | Description |
boolean | Whether the fieldFilter field is set.
|
hasUnaryFilter()
public boolean hasUnaryFilter()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Returns |
---|
Type | Description |
boolean | Whether the unaryFilter field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCompositeFilter(StructuredQuery.CompositeFilter value)
public StructuredQuery.Filter.Builder mergeCompositeFilter(StructuredQuery.CompositeFilter value)
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
mergeFieldFilter(StructuredQuery.FieldFilter value)
public StructuredQuery.Filter.Builder mergeFieldFilter(StructuredQuery.FieldFilter value)
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
mergeFrom(StructuredQuery.Filter other)
public StructuredQuery.Filter.Builder mergeFrom(StructuredQuery.Filter other)
public StructuredQuery.Filter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StructuredQuery.Filter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnaryFilter(StructuredQuery.UnaryFilter value)
public StructuredQuery.Filter.Builder mergeUnaryFilter(StructuredQuery.UnaryFilter value)
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.Filter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCompositeFilter(StructuredQuery.CompositeFilter value)
public StructuredQuery.Filter.Builder setCompositeFilter(StructuredQuery.CompositeFilter value)
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
setCompositeFilter(StructuredQuery.CompositeFilter.Builder builderForValue)
public StructuredQuery.Filter.Builder setCompositeFilter(StructuredQuery.CompositeFilter.Builder builderForValue)
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.Filter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFieldFilter(StructuredQuery.FieldFilter value)
public StructuredQuery.Filter.Builder setFieldFilter(StructuredQuery.FieldFilter value)
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
setFieldFilter(StructuredQuery.FieldFilter.Builder builderForValue)
public StructuredQuery.Filter.Builder setFieldFilter(StructuredQuery.FieldFilter.Builder builderForValue)
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery.Filter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnaryFilter(StructuredQuery.UnaryFilter value)
public StructuredQuery.Filter.Builder setUnaryFilter(StructuredQuery.UnaryFilter value)
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
setUnaryFilter(StructuredQuery.UnaryFilter.Builder builderForValue)
public StructuredQuery.Filter.Builder setUnaryFilter(StructuredQuery.UnaryFilter.Builder builderForValue)
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.Filter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides