public static final class StructuredQuery.Filter extends GeneratedMessageV3 implements StructuredQuery.FilterOrBuilder
A filter.
Protobuf type google.firestore.v1.StructuredQuery.Filter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMPOSITE_FILTER_FIELD_NUMBER
public static final int COMPOSITE_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FIELD_FILTER_FIELD_NUMBER
public static final int FIELD_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UNARY_FILTER_FIELD_NUMBER
public static final int UNARY_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static StructuredQuery.Filter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StructuredQuery.Filter.Builder newBuilder()
newBuilder(StructuredQuery.Filter prototype)
public static StructuredQuery.Filter.Builder newBuilder(StructuredQuery.Filter prototype)
public static StructuredQuery.Filter parseDelimitedFrom(InputStream input)
public static StructuredQuery.Filter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StructuredQuery.Filter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Filter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StructuredQuery.Filter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Filter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Filter parseFrom(CodedInputStream input)
public static StructuredQuery.Filter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Filter parseFrom(InputStream input)
public static StructuredQuery.Filter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StructuredQuery.Filter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Filter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StructuredQuery.Filter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCompositeFilter()
public StructuredQuery.CompositeFilter getCompositeFilter()
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()
getFieldFilter()
public StructuredQuery.FieldFilter getFieldFilter()
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()
getParserForType()
public Parser<StructuredQuery.Filter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnaryFilter()
public StructuredQuery.UnaryFilter getUnaryFilter()
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StructuredQuery.Filter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StructuredQuery.Filter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StructuredQuery.Filter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides