# Interface ProductTextGenerationSuggestionOrBuilder (0.33.0)

0.33.0 (latest) 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface ProductTextGenerationSuggestionOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The score. |

### getText()

    public abstract String getText()

The text generated

`optional string text = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The text. |

### getTextBytes()

    public abstract ByteString getTextBytes()

The text generated

`optional string text = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the score field is set. |

### hasText()

    public abstract boolean hasText()

The text generated

`optional string text = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the text field is set. |