Package com.google.cloud.retail.v2alpha
Class SearchRequest.TileNavigationSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchRequest.TileNavigationSpec.Builder>
com.google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec.Builder
- All Implemented Interfaces:
SearchRequest.TileNavigationSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchRequest.TileNavigationSpec
public static final class SearchRequest.TileNavigationSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchRequest.TileNavigationSpec.Builder>
implements SearchRequest.TileNavigationSpecOrBuilder
This field specifies tile navigation related parameters.Protobuf type
google.cloud.retail.v2alpha.SearchRequest.TileNavigationSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllAppliedTiles(Iterable<? extends Tile> values) This optional field specifies the tiles which are already clicked in client side.addAppliedTiles(int index, Tile value) This optional field specifies the tiles which are already clicked in client side.addAppliedTiles(int index, Tile.Builder builderForValue) This optional field specifies the tiles which are already clicked in client side.addAppliedTiles(Tile value) This optional field specifies the tiles which are already clicked in client side.addAppliedTiles(Tile.Builder builderForValue) This optional field specifies the tiles which are already clicked in client side.This optional field specifies the tiles which are already clicked in client side.addAppliedTilesBuilder(int index) This optional field specifies the tiles which are already clicked in client side.build()clear()This optional field specifies the tiles which are already clicked in client side.This field specifies whether the customer would like to request tile navigation.getAppliedTiles(int index) This optional field specifies the tiles which are already clicked in client side.getAppliedTilesBuilder(int index) This optional field specifies the tiles which are already clicked in client side.This optional field specifies the tiles which are already clicked in client side.intThis optional field specifies the tiles which are already clicked in client side.This optional field specifies the tiles which are already clicked in client side.getAppliedTilesOrBuilder(int index) This optional field specifies the tiles which are already clicked in client side.List<? extends TileOrBuilder>This optional field specifies the tiles which are already clicked in client side.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThis field specifies whether the customer would like to request tile navigation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAppliedTiles(int index) This optional field specifies the tiles which are already clicked in client side.setAppliedTiles(int index, Tile value) This optional field specifies the tiles which are already clicked in client side.setAppliedTiles(int index, Tile.Builder builderForValue) This optional field specifies the tiles which are already clicked in client side.setTileNavigationRequested(boolean value) This field specifies whether the customer would like to request tile navigation.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.TileNavigationSpec.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.TileNavigationSpec.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.TileNavigationSpec.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchRequest.TileNavigationSpec.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchRequest.TileNavigationSpec.Builder>
-
mergeFrom
public SearchRequest.TileNavigationSpec.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.TileNavigationSpec.Builder>- Throws:
IOException
-
getAppliedTilesList
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2;- Specified by:
getAppliedTilesListin interfaceSearchRequest.TileNavigationSpecOrBuilder
-
getAppliedTilesCount
public int getAppliedTilesCount()This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2;- Specified by:
getAppliedTilesCountin interfaceSearchRequest.TileNavigationSpecOrBuilder
-
getAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2;- Specified by:
getAppliedTilesin interfaceSearchRequest.TileNavigationSpecOrBuilder
-
setAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
setAppliedTiles
public SearchRequest.TileNavigationSpec.Builder setAppliedTiles(int index, Tile.Builder builderForValue) This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
addAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
addAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
addAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
addAppliedTiles
public SearchRequest.TileNavigationSpec.Builder addAppliedTiles(int index, Tile.Builder builderForValue) This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
addAllAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
clearAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
removeAppliedTiles
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
getAppliedTilesBuilder
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
getAppliedTilesOrBuilder
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2;- Specified by:
getAppliedTilesOrBuilderin interfaceSearchRequest.TileNavigationSpecOrBuilder
-
getAppliedTilesOrBuilderList
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2;- Specified by:
getAppliedTilesOrBuilderListin interfaceSearchRequest.TileNavigationSpecOrBuilder
-
addAppliedTilesBuilder
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
addAppliedTilesBuilder
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2; -
getAppliedTilesBuilderList
This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter].
repeated .google.cloud.retail.v2alpha.Tile applied_tiles = 2;
-