public static interface SearchRequest.CrowdingSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getField()
The field to use for crowding.
|
com.google.protobuf.ByteString |
getFieldBytes()
The field to use for crowding.
|
int |
getMaxCount()
The maximum number of documents to keep per value of the field.
|
SearchRequest.CrowdingSpec.Mode |
getMode()
Mode to use for documents that are crowded away.
|
int |
getModeValue()
Mode to use for documents that are crowded away.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getField()
The field to use for crowding. Documents can be crowded by a field in the [Document][google.cloud.discoveryengine.v1.Document] object. Crowding field is case sensitive.
string field = 1;com.google.protobuf.ByteString getFieldBytes()
The field to use for crowding. Documents can be crowded by a field in the [Document][google.cloud.discoveryengine.v1.Document] object. Crowding field is case sensitive.
string field = 1;int getMaxCount()
The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are "crowded away". If not specified, the default value is 1.
int32 max_count = 2;int getModeValue()
Mode to use for documents that are crowded away.
.google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode mode = 3;SearchRequest.CrowdingSpec.Mode getMode()
Mode to use for documents that are crowded away.
.google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec.Mode mode = 3;Copyright © 2026 Google LLC. All rights reserved.