public interface RankingRecordOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
The content of the record.
|
com.google.protobuf.ByteString |
getContentBytes()
The content of the record.
|
String |
getId()
The unique ID to represent the record.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique ID to represent the record.
|
float |
getScore()
The score of this record based on the given query and selected model.
|
String |
getTitle()
The title of the record.
|
com.google.protobuf.ByteString |
getTitleBytes()
The title of the record.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getId()
The unique ID to represent the record.
string id = 1;com.google.protobuf.ByteString getIdBytes()
The unique ID to represent the record.
string id = 1;String getTitle()
The title of the record. Empty by default. At least one of [title][google.cloud.discoveryengine.v1beta.RankingRecord.title] or [content][google.cloud.discoveryengine.v1beta.RankingRecord.content] should be set otherwise an INVALID_ARGUMENT error is thrown.
string title = 2;com.google.protobuf.ByteString getTitleBytes()
The title of the record. Empty by default. At least one of [title][google.cloud.discoveryengine.v1beta.RankingRecord.title] or [content][google.cloud.discoveryengine.v1beta.RankingRecord.content] should be set otherwise an INVALID_ARGUMENT error is thrown.
string title = 2;String getContent()
The content of the record. Empty by default. At least one of [title][google.cloud.discoveryengine.v1beta.RankingRecord.title] or [content][google.cloud.discoveryengine.v1beta.RankingRecord.content] should be set otherwise an INVALID_ARGUMENT error is thrown.
string content = 3;com.google.protobuf.ByteString getContentBytes()
The content of the record. Empty by default. At least one of [title][google.cloud.discoveryengine.v1beta.RankingRecord.title] or [content][google.cloud.discoveryengine.v1beta.RankingRecord.content] should be set otherwise an INVALID_ARGUMENT error is thrown.
string content = 3;float getScore()
The score of this record based on the given query and selected model.
float score = 4;Copyright © 2025 Google LLC. All rights reserved.