Enum SearchRequest.ContentSearchSpec.SearchResultMode (0.50.0)

public enum SearchRequest.ContentSearchSpec.SearchResultMode extends Enum<SearchRequest.ContentSearchSpec.SearchResultMode> implements ProtocolMessageEnum

Specifies the search result mode. If unspecified, the search result mode defaults to DOCUMENTS.

Protobuf enum google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
CHUNKS

Returns chunks in the search result. Only available if the [DataStore.DocumentProcessingConfig.chunking_config][] is specified.

CHUNKS = 2;

CHUNKS_VALUE

Returns chunks in the search result. Only available if the [DataStore.DocumentProcessingConfig.chunking_config][] is specified.

CHUNKS = 2;

DOCUMENTS

Returns documents in the search result.

DOCUMENTS = 1;

DOCUMENTS_VALUE

Returns documents in the search result.

DOCUMENTS = 1;

SEARCH_RESULT_MODE_UNSPECIFIED

Default value.

SEARCH_RESULT_MODE_UNSPECIFIED = 0;

SEARCH_RESULT_MODE_UNSPECIFIED_VALUE

Default value.

SEARCH_RESULT_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()