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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExistenceFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
build()
public ExistenceFilter build()
Returns | |
---|---|
Type | Description |
ExistenceFilter |
buildPartial()
public ExistenceFilter buildPartial()
Returns | |
---|---|
Type | Description |
ExistenceFilter |
clear()
public ExistenceFilter.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExistenceFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExistenceFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
clearTargetId()
public ExistenceFilter.Builder clearTargetId()
The target ID to which this filter applies.
int32 target_id = 1;
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
clone()
public ExistenceFilter.Builder clone()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int | The count. |
getDefaultInstanceForType()
public ExistenceFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExistenceFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTargetId()
public int getTargetId()
The target ID to which this filter applies.
int32 target_id = 1;
Returns | |
---|---|
Type | Description |
int | The targetId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExistenceFilter other)
public ExistenceFilter.Builder mergeFrom(ExistenceFilter other)
Parameter | |
---|---|
Name | Description |
other | ExistenceFilter |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExistenceFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExistenceFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExistenceFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The count to set. |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExistenceFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExistenceFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The targetId to set. |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExistenceFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExistenceFilter.Builder |