Package com.google.firestore.v1
Interface StructuredQuery.FieldFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StructuredQuery.FieldFilter,StructuredQuery.FieldFilter.Builder
- Enclosing class:
- StructuredQuery
public static interface StructuredQuery.FieldFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetField()The field to filter by.The field to filter by.getOp()The operator to filter by.intThe operator to filter by.getValue()The value to compare to.The value to compare to.booleanhasField()The field to filter by.booleanhasValue()The value to compare to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasField
boolean hasField()The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;- Returns:
- Whether the field field is set.
-
getField
StructuredQuery.FieldReference getField()The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;- Returns:
- The field.
-
getFieldOrBuilder
StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1; -
getOpValue
int getOpValue()The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;- Returns:
- The enum numeric value on the wire for op.
-
getOp
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;- Returns:
- The op.
-
hasValue
boolean hasValue()The value to compare to.
.google.firestore.v1.Value value = 3;- Returns:
- Whether the value field is set.
-
getValue
Value getValue()The value to compare to.
.google.firestore.v1.Value value = 3;- Returns:
- The value.
-
getValueOrBuilder
ValueOrBuilder getValueOrBuilder()The value to compare to.
.google.firestore.v1.Value value = 3;
-