Interface RankingRecordOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RankingRecord, RankingRecord.Builder

@Generated public interface RankingRecordOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The content of the record.
    com.google.protobuf.ByteString
    The content of the record.
    The unique ID to represent the record.
    com.google.protobuf.ByteString
    The unique ID to represent the record.
    float
    The score of this record based on the given query and selected model.
    The title of the record.
    com.google.protobuf.ByteString
    The title of the record.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      String getId()
       The unique ID to represent the record.
       
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The unique ID to represent the record.
       
      string id = 1;
      Returns:
      The bytes for id.
    • getTitle

      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;
      Returns:
      The title.
    • getTitleBytes

      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;
      Returns:
      The bytes for title.
    • getContent

      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;
      Returns:
      The content.
    • getContentBytes

      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;
      Returns:
      The bytes for content.
    • getScore

      float getScore()
       The score of this record based on the given query and selected model.
       
      float score = 4;
      Returns:
      The score.