Class DocumentLookupRequest.Builder
- All Implemented Interfaces:
DocumentLookupRequest._FinalStage,DocumentLookupRequest.FieldStage,DocumentLookupRequest.TypeStage
- Enclosing class:
DocumentLookupRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Name of a lookup field declared on the schema.from(DocumentLookupRequest other) Inclusive lower bound for a range lookup (requiresto; non-sensitive, range-enabled fields only).Inclusive lower bound for a range lookup (requiresto; non-sensitive, range-enabled fields only).Maximum number of documents to return per page (1–100; defaults to 20).Maximum number of documents to return per page (1–100; defaults to 20).order(DocumentLookupRequestOrder order) Sort direction for the returned results:asc(default) ordesc.order(Optional<DocumentLookupRequestOrder> order) Sort direction for the returned results:asc(default) ordesc.Prefix to match for a prefix lookup (range-enabled string fields only).Prefix to match for a prefix lookup (range-enabled string fields only).Pagination cursor.Pagination cursor.Inclusive upper bound for a range lookup (requiresfrom; mutually exclusive withvalueandprefix).Inclusive upper bound for a range lookup (requiresfrom; mutually exclusive withvalueandprefix).Document type to look up (the type defined by the bound schema).Exact value to match (equality mode).Exact value to match (equality mode).
-
Method Details
-
from
- Specified by:
fromin interfaceDocumentLookupRequest.TypeStage
-
type
Document type to look up (the type defined by the bound schema).
Document type to look up (the type defined by the bound schema).
- Specified by:
typein interfaceDocumentLookupRequest.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
field
Name of a lookup field declared on the schema. For a sensitive field, this body variant is required (the GET variant rejects sensitive-field lookups).
Name of a lookup field declared on the schema. For a sensitive field, this body variant is required (the GET variant rejects sensitive-field lookups).
- Specified by:
fieldin interfaceDocumentLookupRequest.FieldStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
order
Sort direction for the returned results:
asc(default) ordesc.- Specified by:
orderin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
order
Sort direction for the returned results:
asc(default) ordesc.- Specified by:
orderin interfaceDocumentLookupRequest._FinalStage
-
limit
Maximum number of documents to return per page (1–100; defaults to 20).
- Specified by:
limitin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
Maximum number of documents to return per page (1–100; defaults to 20).
- Specified by:
limitin interfaceDocumentLookupRequest._FinalStage
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page.- Specified by:
startFromin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page.- Specified by:
startFromin interfaceDocumentLookupRequest._FinalStage
-
prefix
Prefix to match for a prefix lookup (range-enabled string fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
prefix
Prefix to match for a prefix lookup (range-enabled string fields only). Mutually exclusive with
valueandfrom/to.- Specified by:
prefixin interfaceDocumentLookupRequest._FinalStage
-
to
Inclusive upper bound for a range lookup (requires
from; mutually exclusive withvalueandprefix).- Specified by:
toin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
to
Inclusive upper bound for a range lookup (requires
from; mutually exclusive withvalueandprefix).- Specified by:
toin interfaceDocumentLookupRequest._FinalStage
-
from
Inclusive lower bound for a range lookup (requires
to; non-sensitive, range-enabled fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
from
Inclusive lower bound for a range lookup (requires
to; non-sensitive, range-enabled fields only). Mutually exclusive withvalueandprefix.- Specified by:
fromin interfaceDocumentLookupRequest._FinalStage
-
value
Exact value to match (equality mode). Mutually exclusive with
from/toandprefix.- Specified by:
valuein interfaceDocumentLookupRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
Exact value to match (equality mode). Mutually exclusive with
from/toandprefix.- Specified by:
valuein interfaceDocumentLookupRequest._FinalStage
-
build
- Specified by:
buildin interfaceDocumentLookupRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceDocumentLookupRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceDocumentLookupRequest._FinalStage
-