Package com.google.cloud.retail.v2alpha
Class SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>
com.google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder
- All Implemented Interfaces:
SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer
public static final class SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder
extends com.google.protobuf.GeneratedMessage.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.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer-
Method Summary
Modifier and TypeMethodDescriptionaddAllProductAttributeValues(Iterable<? extends ProductAttributeValue> values) Deprecated.addProductAttributeValues(int index, ProductAttributeValue value) Deprecated.addProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue) Deprecated.Deprecated.addProductAttributeValues(ProductAttributeValue.Builder builderForValue) Deprecated.Deprecated.addProductAttributeValuesBuilder(int index) Deprecated.build()clear()This field specifies the selected answer which is a attribute key-value.Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThis field specifies the selected answer which is a attribute key-value.This field specifies the selected answer which is a attribute key-value.This field specifies the selected answer which is a attribute key-value.getProductAttributeValues(int index) Deprecated.getProductAttributeValuesBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getProductAttributeValuesOrBuilder(int index) Deprecated.List<? extends ProductAttributeValueOrBuilder>Deprecated.booleanThis field specifies the selected answer which is a attribute key-value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) This field specifies the selected answer which is a attribute key-value.removeProductAttributeValues(int index) Deprecated.This field specifies the selected answer which is a attribute key-value.setProductAttributeValue(ProductAttributeValue.Builder builderForValue) This field specifies the selected answer which is a attribute key-value.setProductAttributeValues(int index, ProductAttributeValue value) Deprecated.setProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>
-
mergeFrom
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder>- Throws:
IOException
-
getProductAttributeValuesList
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true];- Specified by:
getProductAttributeValuesListin interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
-
getProductAttributeValuesCount
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true];- Specified by:
getProductAttributeValuesCountin interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
-
getProductAttributeValues
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true];- Specified by:
getProductAttributeValuesin interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
-
setProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValues(int index, ProductAttributeValue value) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
setProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
addProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(ProductAttributeValue value) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
addProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(int index, ProductAttributeValue value) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
addProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(ProductAttributeValue.Builder builderForValue) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
addProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addProductAttributeValues(int index, ProductAttributeValue.Builder builderForValue) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
addAllProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder addAllProductAttributeValues(Iterable<? extends ProductAttributeValue> values) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
clearProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clearProductAttributeValues()Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
removeProductAttributeValues
@Deprecated public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder removeProductAttributeValues(int index) Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
getProductAttributeValuesBuilder
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
getProductAttributeValuesOrBuilder
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true];- Specified by:
getProductAttributeValuesOrBuilderin interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
-
getProductAttributeValuesOrBuilderList
@Deprecated public List<? extends ProductAttributeValueOrBuilder> getProductAttributeValuesOrBuilderList()Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true];- Specified by:
getProductAttributeValuesOrBuilderListin interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
-
addProductAttributeValuesBuilder
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
addProductAttributeValuesBuilder
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
getProductAttributeValuesBuilderList
Deprecated.This field is deprecated and should not be set.
repeated .google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_values = 1 [deprecated = true]; -
hasProductAttributeValue
public boolean hasProductAttributeValue()This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2;- Specified by:
hasProductAttributeValuein interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder- Returns:
- Whether the productAttributeValue field is set.
-
getProductAttributeValue
This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2;- Specified by:
getProductAttributeValuein interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder- Returns:
- The productAttributeValue.
-
setProductAttributeValue
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder setProductAttributeValue(ProductAttributeValue value) This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2; -
setProductAttributeValue
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.v2alpha.ProductAttributeValue product_attribute_value = 2; -
mergeProductAttributeValue
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder mergeProductAttributeValue(ProductAttributeValue value) This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2; -
clearProductAttributeValue
public SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer.Builder clearProductAttributeValue()This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2; -
getProductAttributeValueBuilder
This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2; -
getProductAttributeValueOrBuilder
This field specifies the selected answer which is a attribute key-value.
.google.cloud.retail.v2alpha.ProductAttributeValue product_attribute_value = 2;- Specified by:
getProductAttributeValueOrBuilderin interfaceSearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswerOrBuilder
-