public static final class StructuredQuery.FieldFilter.Builder extends GeneratedMessageV3.Builder<StructuredQuery.FieldFilter.Builder> implements StructuredQuery.FieldFilterOrBuilder
A filter on a specific field.
Protobuf type google.firestore.v1.StructuredQuery.FieldFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StructuredQuery.FieldFilter.BuilderImplements
StructuredQuery.FieldFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.FieldFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StructuredQuery.FieldFilter.Builder |
build()
public StructuredQuery.FieldFilter build()
Type | Description |
StructuredQuery.FieldFilter |
buildPartial()
public StructuredQuery.FieldFilter buildPartial()
Type | Description |
StructuredQuery.FieldFilter |
clear()
public StructuredQuery.FieldFilter.Builder clear()
Type | Description |
StructuredQuery.FieldFilter.Builder |
clearField()
public StructuredQuery.FieldFilter.Builder clearField()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.FieldFilter.Builder |
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery.FieldFilter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StructuredQuery.FieldFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery.FieldFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StructuredQuery.FieldFilter.Builder |
clearOp()
public StructuredQuery.FieldFilter.Builder clearOp()
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Type | Description |
StructuredQuery.FieldFilter.Builder | This builder for chaining. |
clearValue()
public StructuredQuery.FieldFilter.Builder clearValue()
The value to compare to.
.google.firestore.v1.Value value = 3;
Type | Description |
StructuredQuery.FieldFilter.Builder |
clone()
public StructuredQuery.FieldFilter.Builder clone()
Type | Description |
StructuredQuery.FieldFilter.Builder |
getDefaultInstanceForType()
public StructuredQuery.FieldFilter getDefaultInstanceForType()
Type | Description |
StructuredQuery.FieldFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getField()
public StructuredQuery.FieldReference getField()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.FieldReference | The field. |
getFieldBuilder()
public StructuredQuery.FieldReference.Builder getFieldBuilder()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.FieldReference.Builder |
getFieldOrBuilder()
public StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.FieldReferenceOrBuilder |
getOp()
public StructuredQuery.FieldFilter.Operator getOp()
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Type | Description |
StructuredQuery.FieldFilter.Operator | The op. |
getOpValue()
public int getOpValue()
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Type | Description |
int | The enum numeric value on the wire for op. |
getValue()
public Value getValue()
The value to compare to.
.google.firestore.v1.Value value = 3;
Type | Description |
Value | The value. |
getValueBuilder()
public Value.Builder getValueBuilder()
The value to compare to.
.google.firestore.v1.Value value = 3;
Type | Description |
Value.Builder |
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
The value to compare to.
.google.firestore.v1.Value value = 3;
Type | Description |
ValueOrBuilder |
hasField()
public boolean hasField()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
boolean | Whether the field field is set. |
hasValue()
public boolean hasValue()
The value to compare to.
.google.firestore.v1.Value value = 3;
Type | Description |
boolean | Whether the value field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeField(StructuredQuery.FieldReference value)
public StructuredQuery.FieldFilter.Builder mergeField(StructuredQuery.FieldReference value)
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Name | Description |
value | StructuredQuery.FieldReference |
Type | Description |
StructuredQuery.FieldFilter.Builder |
mergeFrom(StructuredQuery.FieldFilter other)
public StructuredQuery.FieldFilter.Builder mergeFrom(StructuredQuery.FieldFilter other)
Name | Description |
other | StructuredQuery.FieldFilter |
Type | Description |
StructuredQuery.FieldFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StructuredQuery.FieldFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.FieldFilter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StructuredQuery.FieldFilter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StructuredQuery.FieldFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.FieldFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StructuredQuery.FieldFilter.Builder |
mergeValue(Value value)
public StructuredQuery.FieldFilter.Builder mergeValue(Value value)
The value to compare to.
.google.firestore.v1.Value value = 3;
Name | Description |
value | Value |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setField(StructuredQuery.FieldReference value)
public StructuredQuery.FieldFilter.Builder setField(StructuredQuery.FieldReference value)
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Name | Description |
value | StructuredQuery.FieldReference |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setField(StructuredQuery.FieldReference.Builder builderForValue)
public StructuredQuery.FieldFilter.Builder setField(StructuredQuery.FieldReference.Builder builderForValue)
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Name | Description |
builderForValue | StructuredQuery.FieldReference.Builder |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.FieldFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setOp(StructuredQuery.FieldFilter.Operator value)
public StructuredQuery.FieldFilter.Builder setOp(StructuredQuery.FieldFilter.Operator value)
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Name | Description |
value | StructuredQuery.FieldFilter.Operator The op to set. |
Type | Description |
StructuredQuery.FieldFilter.Builder | This builder for chaining. |
setOpValue(int value)
public StructuredQuery.FieldFilter.Builder setOpValue(int value)
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Name | Description |
value | int The enum numeric value on the wire for op to set. |
Type | Description |
StructuredQuery.FieldFilter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery.FieldFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.FieldFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setValue(Value value)
public StructuredQuery.FieldFilter.Builder setValue(Value value)
The value to compare to.
.google.firestore.v1.Value value = 3;
Name | Description |
value | Value |
Type | Description |
StructuredQuery.FieldFilter.Builder |
setValue(Value.Builder builderForValue)
public StructuredQuery.FieldFilter.Builder setValue(Value.Builder builderForValue)
The value to compare to.
.google.firestore.v1.Value value = 3;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
StructuredQuery.FieldFilter.Builder |