public interface GenerateProductTextSuggestionsResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsAttributes(String key)
public abstract boolean containsAttributes(String key)
Any other generated attributes.
map<string, string> attributes = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAttributes() (deprecated)
public abstract Map<String,String> getAttributes()
Use #getAttributesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAttributesCount()
public abstract int getAttributesCount()
Any other generated attributes.
map<string, string> attributes = 3;
Returns | |
---|---|
Type | Description |
int |
getAttributesMap()
public abstract Map<String,String> getAttributesMap()
Any other generated attributes.
map<string, string> attributes = 3;
Returns | |
---|---|
Type | Description |
Map<String,String> |
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 |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getAttributesOrThrow(String key)
public abstract String getAttributesOrThrow(String key)
Any other generated attributes.
map<string, string> attributes = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getDescription()
public abstract ProductTextGenerationSuggestion getDescription()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
Returns | |
---|---|
Type | Description |
ProductTextGenerationSuggestion |
The description. |
getDescriptionOrBuilder()
public abstract ProductTextGenerationSuggestionOrBuilder getDescriptionOrBuilder()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
Returns | |
---|---|
Type | Description |
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 |
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 |
ProductTextGenerationMetadataOrBuilder |
getTitle()
public abstract ProductTextGenerationSuggestion getTitle()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
Returns | |
---|---|
Type | Description |
ProductTextGenerationSuggestion |
The title. |
getTitleOrBuilder()
public abstract ProductTextGenerationSuggestionOrBuilder getTitleOrBuilder()
Generated title suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion title = 1;
Returns | |
---|---|
Type | Description |
ProductTextGenerationSuggestionOrBuilder |
hasDescription()
public abstract boolean hasDescription()
Generated description suggestion.
optional .google.shopping.merchant.productstudio.v1alpha.ProductTextGenerationSuggestion description = 2;
Returns | |
---|---|
Type | Description |
boolean |
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 |
boolean |
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 |
boolean |
Whether the title field is set. |