Interface RankingRecordOrBuilder (0.38.0)

public interface RankingRecordOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.

string content = 3;

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.

string content = 3;

Returns
Type Description
ByteString

The bytes for content.

getId()

public abstract String getId()

The unique ID to represent the record.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The unique ID to represent the record.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getScore()

public abstract float getScore()

The score of this record based on the given query and selected model.

float score = 4;

Returns
Type Description
float

The score.

getTitle()

public abstract String getTitle()

The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.

string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.

string title = 2;

Returns
Type Description
ByteString

The bytes for title.