Interface GenerateProductTextSuggestionsRequestOrBuilder (0.2.0)

public interface GenerateProductTextSuggestionsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the account to generate text suggestions for. This acts as a container for the request and does not affect the generation itself, as this is a stateless API. Format: accounts/{account}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the account to generate text suggestions for. This acts as a container for the request and does not affect the generation itself, as this is a stateless API. Format: accounts/{account}

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

Returns
Type Description
ByteString

The bytes for name.

getOutputSpec()

public abstract OutputSpec getOutputSpec()

Optional. Configuration parameters that directly influence what content is generated, and how that content is rendered in the final response.

optional .google.shopping.merchant.productstudio.v1alpha.OutputSpec output_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OutputSpec

The outputSpec.

getOutputSpecOrBuilder()

public abstract OutputSpecOrBuilder getOutputSpecOrBuilder()

Optional. Configuration parameters that directly influence what content is generated, and how that content is rendered in the final response.

optional .google.shopping.merchant.productstudio.v1alpha.OutputSpec output_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OutputSpecOrBuilder

getProductInfo()

public abstract ProductInfo getProductInfo()

Required. Available information about the product. Used to inform the genAI models.

.google.shopping.merchant.productstudio.v1alpha.ProductInfo product_info = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductInfo

The productInfo.

getProductInfoOrBuilder()

public abstract ProductInfoOrBuilder getProductInfoOrBuilder()

Required. Available information about the product. Used to inform the genAI models.

.google.shopping.merchant.productstudio.v1alpha.ProductInfo product_info = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductInfoOrBuilder

getTitleExamples(int index)

public abstract TitleExample getTitleExamples(int index)

Optional. Provide some hand-crafted examples of title improvements that are unique to your use case. This is a general tool that handles multiple product categories, but your brand identity may require custom functionality. Feel free to specify that here.

repeated .google.shopping.merchant.productstudio.v1alpha.TitleExample title_examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TitleExample

getTitleExamplesCount()

public abstract int getTitleExamplesCount()

Optional. Provide some hand-crafted examples of title improvements that are unique to your use case. This is a general tool that handles multiple product categories, but your brand identity may require custom functionality. Feel free to specify that here.

repeated .google.shopping.merchant.productstudio.v1alpha.TitleExample title_examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTitleExamplesList()

public abstract List<TitleExample> getTitleExamplesList()

Optional. Provide some hand-crafted examples of title improvements that are unique to your use case. This is a general tool that handles multiple product categories, but your brand identity may require custom functionality. Feel free to specify that here.

repeated .google.shopping.merchant.productstudio.v1alpha.TitleExample title_examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<TitleExample>

getTitleExamplesOrBuilder(int index)

public abstract TitleExampleOrBuilder getTitleExamplesOrBuilder(int index)

Optional. Provide some hand-crafted examples of title improvements that are unique to your use case. This is a general tool that handles multiple product categories, but your brand identity may require custom functionality. Feel free to specify that here.

repeated .google.shopping.merchant.productstudio.v1alpha.TitleExample title_examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TitleExampleOrBuilder

getTitleExamplesOrBuilderList()

public abstract List<? extends TitleExampleOrBuilder> getTitleExamplesOrBuilderList()

Optional. Provide some hand-crafted examples of title improvements that are unique to your use case. This is a general tool that handles multiple product categories, but your brand identity may require custom functionality. Feel free to specify that here.

repeated .google.shopping.merchant.productstudio.v1alpha.TitleExample title_examples = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.productstudio.v1alpha.TitleExampleOrBuilder>

hasOutputSpec()

public abstract boolean hasOutputSpec()

Optional. Configuration parameters that directly influence what content is generated, and how that content is rendered in the final response.

optional .google.shopping.merchant.productstudio.v1alpha.OutputSpec output_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the outputSpec field is set.

hasProductInfo()

public abstract boolean hasProductInfo()

Required. Available information about the product. Used to inform the genAI models.

.google.shopping.merchant.productstudio.v1alpha.ProductInfo product_info = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the productInfo field is set.