Interface ProductTextGenerationSuggestionOrBuilder (0.2.0)

public interface ProductTextGenerationSuggestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangeSummary()

public abstract String getChangeSummary()

A brief summarization of all the changes that have been made.

optional string change_summary = 3;

Returns
Type Description
String

The changeSummary.

getChangeSummaryBytes()

public abstract ByteString getChangeSummaryBytes()

A brief summarization of all the changes that have been made.

optional string change_summary = 3;

Returns
Type Description
ByteString

The bytes for changeSummary.

getScore()

public abstract float getScore()

The quality score associated with the generation. Heuristic implemented according to the feedgen team's implementation styles.

optional float score = 2;

Returns
Type Description
float

The score.

getText()

public abstract String getText()

The text generated

optional string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The text generated

optional string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasChangeSummary()

public abstract boolean hasChangeSummary()

A brief summarization of all the changes that have been made.

optional string change_summary = 3;

Returns
Type Description
boolean

Whether the changeSummary field is set.

hasScore()

public abstract boolean hasScore()

The quality score associated with the generation. Heuristic implemented according to the feedgen team's implementation styles.

optional float score = 2;

Returns
Type Description
boolean

Whether the score field is set.

hasText()

public abstract boolean hasText()

The text generated

optional string text = 1;

Returns
Type Description
boolean

Whether the text field is set.