Interface SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder (2.57.0)

public static interface SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProductAttributeValue()

public abstract ProductAttributeValue getProductAttributeValue()

This field specifies the selected answer which is a attribute key-value.

.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 2;

Returns
Type Description
ProductAttributeValue

The productAttributeValue.

getProductAttributeValueOrBuilder()

public abstract ProductAttributeValueOrBuilder getProductAttributeValueOrBuilder()

This field specifies the selected answer which is a attribute key-value.

.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 2;

Returns
Type Description
ProductAttributeValueOrBuilder

getProductAttributeValues(int index) (deprecated)

public abstract ProductAttributeValue getProductAttributeValues(int index)

This field is deprecated and should not be set.

repeated .google.cloud.retail.v2beta.ProductAttributeValue product_attribute_values = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributeValue

getProductAttributeValuesCount() (deprecated)

public abstract int getProductAttributeValuesCount()

This field is deprecated and should not be set.

repeated .google.cloud.retail.v2beta.ProductAttributeValue product_attribute_values = 1 [deprecated = true];

Returns
Type Description
int

getProductAttributeValuesList() (deprecated)

public abstract List<ProductAttributeValue> getProductAttributeValuesList()

This field is deprecated and should not be set.

repeated .google.cloud.retail.v2beta.ProductAttributeValue product_attribute_values = 1 [deprecated = true];

Returns
Type Description
List<ProductAttributeValue>

getProductAttributeValuesOrBuilder(int index) (deprecated)

public abstract ProductAttributeValueOrBuilder getProductAttributeValuesOrBuilder(int index)

This field is deprecated and should not be set.

repeated .google.cloud.retail.v2beta.ProductAttributeValue product_attribute_values = 1 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
ProductAttributeValueOrBuilder

getProductAttributeValuesOrBuilderList() (deprecated)

public abstract List<? extends ProductAttributeValueOrBuilder> getProductAttributeValuesOrBuilderList()

This field is deprecated and should not be set.

repeated .google.cloud.retail.v2beta.ProductAttributeValue product_attribute_values = 1 [deprecated = true];

Returns
Type Description
List<? extends com.google.cloud.retail.v2beta.ProductAttributeValueOrBuilder>

hasProductAttributeValue()

public abstract boolean hasProductAttributeValue()

This field specifies the selected answer which is a attribute key-value.

.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 2;

Returns
Type Description
boolean

Whether the productAttributeValue field is set.