QueryDocumentRequest class final
Request for querying a Document.
- Inheritance
-
- Object
- ProtoMessage
- QueryDocumentRequest
Constructors
-
QueryDocumentRequest({required String name, required String query, int resultsCount = 0, List<
MetadataFilter> metadataFilters = const []}) - QueryDocumentRequest.fromJson(Object? j)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadataFilters
→ List<
MetadataFilter> -
Optional. Filter for
Chunkmetadata. EachMetadataFilterobject should correspond to a unique key. MultipleMetadataFilterobjects are joined by logical "AND"s.final - name → String
-
Required. The name of the
Documentto query. Example:corpora/my-corpus-123/documents/the-doc-abcfinal - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - query → String
-
Required. Query string to perform semantic search.
final
- resultsCount → int
-
Optional. The maximum number of
Chunks to return. The service may return fewerChunks.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String