Interface ConversationalSearchRequest.UserAnswer.SelectedAnswerOrBuilder (2.64.0)

public static interface ConversationalSearchRequest.UserAnswer.SelectedAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProductAttributeValue()

public abstract ProductAttributeValue getProductAttributeValue()

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

.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAttributeValue

The productAttributeValue.

getProductAttributeValueOrBuilder()

public abstract ProductAttributeValueOrBuilder getProductAttributeValueOrBuilder()

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

.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAttributeValueOrBuilder

hasProductAttributeValue()

public abstract boolean hasProductAttributeValue()

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

.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the productAttributeValue field is set.