public final class

RemoveByDocumentIdRequest.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.appsearch.app.RemoveByDocumentIdRequest.Builder

Overview

Builder for RemoveByDocumentIdRequest objects.

Summary

Constructors
publicBuilder(java.lang.String namespace)

Creates a RemoveByDocumentIdRequest.Builder instance.

Methods
public RemoveByDocumentIdRequest.BuilderaddIds(java.util.Collection<java.lang.String> ids)

Adds a collection of IDs to the request.

public RemoveByDocumentIdRequest.BuilderaddIds(java.lang.String ids[])

Adds one or more document IDs to the request.

public RemoveByDocumentIdRequestbuild()

Builds a new RemoveByDocumentIdRequest.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(java.lang.String namespace)

Creates a RemoveByDocumentIdRequest.Builder instance.

Methods

public RemoveByDocumentIdRequest.Builder addIds(java.lang.String ids[])

Adds one or more document IDs to the request.

public RemoveByDocumentIdRequest.Builder addIds(java.util.Collection<java.lang.String> ids)

Adds a collection of IDs to the request.

Builds a new RemoveByDocumentIdRequest.