# Interface GenerateProductTextSuggestionsResponseOrBuilder (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 GenerateProductTextSuggestionsResponseOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### containsAttributes(String key)

    public abstract boolean containsAttributes(String key)

Any other generated attributes.

`map<string, string> attributes = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getAttributes() (deprecated)

    public abstract Map<String,String> getAttributes()

Use [#getAttributesMap()](https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.GenerateProductTextSuggestionsResponseOrBuilder#com_google_shopping_merchant_productstudio_v1alpha_GenerateProductTextSuggestionsResponseOrBuilder_getAttributesMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getAttributesCount()

    public abstract int getAttributesCount()

Any other generated attributes.

`map<string, string> attributes = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getAttributesMap()

    public abstract Map<String,String> getAttributesMap()

Any other generated attributes.

`map<string, string> attributes = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getAttributesOrDefault(String key, String defaultValue)

    public abstract String getAttributesOrDefault(String key, String defaultValue)

Any other generated attributes.

`map<string, string> attributes = 3;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getAttributesOrThrow(String key)

    public abstract String getAttributesOrThrow(String key)

Any other generated attributes.

`map<string, string> attributes = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getDescription()

    public abstract ProductTextGenerationSuggestion getDescription()

Generated description suggestion.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion` | The description. |

### getDescriptionOrBuilder()

    public abstract ProductTextGenerationSuggestionOrBuilder getDescriptionOrBuilder()

Generated description suggestion.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestionOrBuilder` |   |

### getMetadata()

    public abstract ProductTextGenerationMetadata getMetadata()

Additional info that clients may want to audit surrounding the generation.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata` | The metadata. |

### getMetadataOrBuilder()

    public abstract ProductTextGenerationMetadataOrBuilder getMetadataOrBuilder()

Additional info that clients may want to audit surrounding the generation.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadataOrBuilder` |   |

### getTitle()

    public abstract ProductTextGenerationSuggestion getTitle()

Generated title suggestion.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion` | The title. |

### getTitleOrBuilder()

    public abstract ProductTextGenerationSuggestionOrBuilder getTitleOrBuilder()

Generated title suggestion.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestionOrBuilder` |   |

### hasDescription()

    public abstract boolean hasDescription()

Generated description suggestion.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
`

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

### hasMetadata()

    public abstract boolean hasMetadata()

Additional info that clients may want to audit surrounding the generation.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationMetadata metadata = 4;
`

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

### hasTitle()

    public abstract boolean hasTitle()

Generated title suggestion.

`
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
`

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