public interface RecommendResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributionToken()
A unique attribution token.
|
com.google.protobuf.ByteString |
getAttributionTokenBytes()
A unique attribution token.
|
String |
getMissingIds(int index)
IDs of documents in the request that were missing from the default Branch
associated with the requested ServingConfig.
|
com.google.protobuf.ByteString |
getMissingIdsBytes(int index)
IDs of documents in the request that were missing from the default Branch
associated with the requested ServingConfig.
|
int |
getMissingIdsCount()
IDs of documents in the request that were missing from the default Branch
associated with the requested ServingConfig.
|
List<String> |
getMissingIdsList()
IDs of documents in the request that were missing from the default Branch
associated with the requested ServingConfig.
|
RecommendResponse.RecommendationResult |
getResults(int index)
A list of recommended Documents.
|
int |
getResultsCount()
A list of recommended Documents.
|
List<RecommendResponse.RecommendationResult> |
getResultsList()
A list of recommended Documents.
|
RecommendResponse.RecommendationResultOrBuilder |
getResultsOrBuilder(int index)
A list of recommended Documents.
|
List<? extends RecommendResponse.RecommendationResultOrBuilder> |
getResultsOrBuilderList()
A list of recommended Documents.
|
boolean |
getValidateOnly()
True if
[RecommendRequest.validate_only][google.cloud.discoveryengine.v1beta.RecommendRequest.validate_only]
was set.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<RecommendResponse.RecommendationResult> getResultsList()
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).
repeated .google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult results = 1;
RecommendResponse.RecommendationResult getResults(int index)
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).
repeated .google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult results = 1;
int getResultsCount()
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).
repeated .google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult results = 1;
List<? extends RecommendResponse.RecommendationResultOrBuilder> getResultsOrBuilderList()
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).
repeated .google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult results = 1;
RecommendResponse.RecommendationResultOrBuilder getResultsOrBuilder(int index)
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).
repeated .google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult results = 1;
String getAttributionToken()
A unique attribution token. This should be included in the [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.
string attribution_token = 2;com.google.protobuf.ByteString getAttributionTokenBytes()
A unique attribution token. This should be included in the [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.
string attribution_token = 2;List<String> getMissingIdsList()
IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.
repeated string missing_ids = 3;int getMissingIdsCount()
IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.
repeated string missing_ids = 3;String getMissingIds(int index)
IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.
repeated string missing_ids = 3;index - The index of the element to return.com.google.protobuf.ByteString getMissingIdsBytes(int index)
IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.
repeated string missing_ids = 3;index - The index of the value to return.boolean getValidateOnly()
True if [RecommendRequest.validate_only][google.cloud.discoveryengine.v1beta.RecommendRequest.validate_only] was set.
bool validate_only = 4;Copyright © 2025 Google LLC. All rights reserved.