Interface VertexRankerOrBuilder (0.1.0)

public interface VertexRankerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentTemplate()

public abstract String getContentTemplate()

Optional. The template used to generate the record's content.

string content_template = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The contentTemplate.

getContentTemplateBytes()

public abstract ByteString getContentTemplateBytes()

Optional. The template used to generate the record's content.

string content_template = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for contentTemplate.

getModel()

public abstract String getModel()

Required. The model used for ranking documents. If no model is specified, then semantic-ranker-default@latest is used.

string model = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

Required. The model used for ranking documents. If no model is specified, then semantic-ranker-default@latest is used.

string model = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for model.

getQuery()

public abstract String getQuery()

Required. The query against which the records are ranked and scored.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

Required. The query against which the records are ranked and scored.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

getTitleTemplate()

public abstract String getTitleTemplate()

Optional. The template used to generate the record's title.

string title_template = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The titleTemplate.

getTitleTemplateBytes()

public abstract ByteString getTitleTemplateBytes()

Optional. The template used to generate the record's title.

string title_template = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for titleTemplate.