public static final class ExistenceFilter.Builder extends GeneratedMessageV3.Builder<ExistenceFilter.Builder> implements ExistenceFilterOrBuilder
A digest of all the documents that match a given target.
Protobuf type google.firestore.v1.ExistenceFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExistenceFilter.BuilderImplements
ExistenceFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExistenceFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExistenceFilter.Builder |
build()
public ExistenceFilter build()
Type | Description |
ExistenceFilter |
buildPartial()
public ExistenceFilter buildPartial()
Type | Description |
ExistenceFilter |
clear()
public ExistenceFilter.Builder clear()
Type | Description |
ExistenceFilter.Builder |
clearCount()
public ExistenceFilter.Builder clearCount()
The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target.
int32 count = 2;
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExistenceFilter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ExistenceFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExistenceFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ExistenceFilter.Builder |
clearTargetId()
public ExistenceFilter.Builder clearTargetId()
The target ID to which this filter applies.
int32 target_id = 1;
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
clone()
public ExistenceFilter.Builder clone()
Type | Description |
ExistenceFilter.Builder |
getCount()
public int getCount()
The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target.
int32 count = 2;
Type | Description |
int | The count. |
getDefaultInstanceForType()
public ExistenceFilter getDefaultInstanceForType()
Type | Description |
ExistenceFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getTargetId()
public int getTargetId()
The target ID to which this filter applies.
int32 target_id = 1;
Type | Description |
int | The targetId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ExistenceFilter other)
public ExistenceFilter.Builder mergeFrom(ExistenceFilter other)
Name | Description |
other | ExistenceFilter |
Type | Description |
ExistenceFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExistenceFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExistenceFilter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ExistenceFilter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ExistenceFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExistenceFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExistenceFilter.Builder |
setCount(int value)
public ExistenceFilter.Builder setCount(int value)
The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target.
int32 count = 2;
Name | Description |
value | int The count to set. |
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExistenceFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExistenceFilter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExistenceFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ExistenceFilter.Builder |
setTargetId(int value)
public ExistenceFilter.Builder setTargetId(int value)
The target ID to which this filter applies.
int32 target_id = 1;
Name | Description |
value | int The targetId to set. |
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExistenceFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExistenceFilter.Builder |