public static final class SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder extends GeneratedMessageV3.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder> implements SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
This field specifies the selected answers during the conversational
search.
Protobuf type
google.cloud.retail.v2.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllProductAttributeValues(Iterable<? extends ProductAttributeValue> values) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addAllProductAttributeValues(Iterable<? extends ProductAttributeValue> values)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.retail.v2.ProductAttributeValue>
|
addProductAttributeValues(ProductAttributeValue value) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(ProductAttributeValue value)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
addProductAttributeValues(ProductAttributeValue.Builder builderForValue) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(ProductAttributeValue.Builder builderForValue)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
addProductAttributeValues(int index, ProductAttributeValue value) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(int index, ProductAttributeValue value)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
addProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
addProductAttributeValuesBuilder() (deprecated)
public ProductAttributeValue.Builder addProductAttributeValuesBuilder()
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
addProductAttributeValuesBuilder(int index) (deprecated)
public ProductAttributeValue.Builder addProductAttributeValuesBuilder(int index)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer build()
buildPartial()
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer buildPartial()
clear()
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProductAttributeValue()
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clearProductAttributeValue()
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
clearProductAttributeValues() (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clearProductAttributeValues()
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
clone()
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProductAttributeValue()
public ProductAttributeValue getProductAttributeValue()
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
getProductAttributeValueBuilder()
public ProductAttributeValue.Builder getProductAttributeValueBuilder()
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
getProductAttributeValueOrBuilder()
public ProductAttributeValueOrBuilder getProductAttributeValueOrBuilder()
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
getProductAttributeValues(int index) (deprecated)
public ProductAttributeValue getProductAttributeValues(int index)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
getProductAttributeValuesBuilder(int index) (deprecated)
public ProductAttributeValue.Builder getProductAttributeValuesBuilder(int index)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
getProductAttributeValuesBuilderList() (deprecated)
public List<ProductAttributeValue.Builder> getProductAttributeValuesBuilderList()
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
getProductAttributeValuesCount() (deprecated)
public int getProductAttributeValuesCount()
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Returns |
Type |
Description |
int |
|
getProductAttributeValuesList() (deprecated)
public List<ProductAttributeValue> getProductAttributeValuesList()
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
getProductAttributeValuesOrBuilder(int index) (deprecated)
public ProductAttributeValueOrBuilder getProductAttributeValuesOrBuilder(int index)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
getProductAttributeValuesOrBuilderList() (deprecated)
public List<? extends ProductAttributeValueOrBuilder> getProductAttributeValuesOrBuilderList()
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Returns |
Type |
Description |
List<? extends com.google.cloud.retail.v2.ProductAttributeValueOrBuilder> |
|
hasProductAttributeValue()
public boolean hasProductAttributeValue()
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
Returns |
Type |
Description |
boolean |
Whether the productAttributeValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer other)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeFrom(SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer other)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeProductAttributeValue(ProductAttributeValue value)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeProductAttributeValue(ProductAttributeValue value)
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeProductAttributeValues(int index) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder removeProductAttributeValues(int index)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProductAttributeValue(ProductAttributeValue value)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValue(ProductAttributeValue value)
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
setProductAttributeValue(ProductAttributeValue.Builder builderForValue)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValue(ProductAttributeValue.Builder builderForValue)
This field specifies the selected answer which is a attribute
key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 2;
setProductAttributeValues(int index, ProductAttributeValue value) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValues(int index, ProductAttributeValue value)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
setProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue) (deprecated)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue)
This field is deprecated and should not be set.
repeated .google.cloud.retail.v2.ProductAttributeValue product_attribute_values = 1 [deprecated = true];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides