public static final class ItemSuggest.Request.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder> implements ItemSuggest.RequestOrBuilder
dstore.elastic.item.item_suggest.Request| Modifier and Type | Method and Description |
|---|---|
ItemSuggest.Request.Builder |
addAllFieldName(java.lang.Iterable<java.lang.String> values)
repeated string field_name = 2; |
ItemSuggest.Request.Builder |
addFieldName(java.lang.String value)
repeated string field_name = 2; |
ItemSuggest.Request.Builder |
addFieldNameBytes(com.google.protobuf.ByteString value)
repeated string field_name = 2; |
ItemSuggest.Request.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ItemSuggest.Request |
build() |
ItemSuggest.Request |
buildPartial() |
ItemSuggest.Request.Builder |
clear() |
ItemSuggest.Request.Builder |
clearBaseQuery()
Used to filter the suggestions
|
ItemSuggest.Request.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ItemSuggest.Request.Builder |
clearFieldName()
repeated string field_name = 2; |
ItemSuggest.Request.Builder |
clearFuzzy()
optional bool fuzzy = 7; |
ItemSuggest.Request.Builder |
clearInput()
optional string input = 1; |
ItemSuggest.Request.Builder |
clearMaxItems()
optional int32 max_items = 5; |
ItemSuggest.Request.Builder |
clearMaxSuggests()
optional int32 max_suggests = 6; |
ItemSuggest.Request.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ItemSuggest.Request.Builder |
clearUseAndOperator()
optional bool use_and_operator = 8; |
ItemSuggest.Request.Builder |
clone() |
BoolQuery |
getBaseQuery()
Used to filter the suggestions
|
BoolQuery.Builder |
getBaseQueryBuilder()
Used to filter the suggestions
|
BoolQueryOrBuilder |
getBaseQueryOrBuilder()
Used to filter the suggestions
|
ItemSuggest.Request |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFieldName(int index)
repeated string field_name = 2; |
com.google.protobuf.ByteString |
getFieldNameBytes(int index)
repeated string field_name = 2; |
int |
getFieldNameCount()
repeated string field_name = 2; |
com.google.protobuf.ProtocolStringList |
getFieldNameList()
repeated string field_name = 2; |
boolean |
getFuzzy()
optional bool fuzzy = 7; |
java.lang.String |
getInput()
optional string input = 1; |
com.google.protobuf.ByteString |
getInputBytes()
optional string input = 1; |
int |
getMaxItems()
optional int32 max_items = 5; |
int |
getMaxSuggests()
optional int32 max_suggests = 6; |
boolean |
getUseAndOperator()
optional bool use_and_operator = 8; |
boolean |
hasBaseQuery()
Used to filter the suggestions
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ItemSuggest.Request.Builder |
mergeBaseQuery(BoolQuery value)
Used to filter the suggestions
|
ItemSuggest.Request.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ItemSuggest.Request.Builder |
mergeFrom(ItemSuggest.Request other) |
ItemSuggest.Request.Builder |
mergeFrom(com.google.protobuf.Message other) |
ItemSuggest.Request.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ItemSuggest.Request.Builder |
setBaseQuery(BoolQuery.Builder builderForValue)
Used to filter the suggestions
|
ItemSuggest.Request.Builder |
setBaseQuery(BoolQuery value)
Used to filter the suggestions
|
ItemSuggest.Request.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ItemSuggest.Request.Builder |
setFieldName(int index,
java.lang.String value)
repeated string field_name = 2; |
ItemSuggest.Request.Builder |
setFuzzy(boolean value)
optional bool fuzzy = 7; |
ItemSuggest.Request.Builder |
setInput(java.lang.String value)
optional string input = 1; |
ItemSuggest.Request.Builder |
setInputBytes(com.google.protobuf.ByteString value)
optional string input = 1; |
ItemSuggest.Request.Builder |
setMaxItems(int value)
optional int32 max_items = 5; |
ItemSuggest.Request.Builder |
setMaxSuggests(int value)
optional int32 max_suggests = 6; |
ItemSuggest.Request.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ItemSuggest.Request.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ItemSuggest.Request.Builder |
setUseAndOperator(boolean value)
optional bool use_and_operator = 8; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ItemSuggest.Request build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ItemSuggest.Request buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ItemSuggest.Request.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder mergeFrom(ItemSuggest.Request other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public ItemSuggest.Request.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ItemSuggest.Request.Builder>java.io.IOExceptionpublic java.lang.String getInput()
optional string input = 1;getInput in interface ItemSuggest.RequestOrBuilderpublic com.google.protobuf.ByteString getInputBytes()
optional string input = 1;getInputBytes in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setInput(java.lang.String value)
optional string input = 1;public ItemSuggest.Request.Builder clearInput()
optional string input = 1;public ItemSuggest.Request.Builder setInputBytes(com.google.protobuf.ByteString value)
optional string input = 1;public com.google.protobuf.ProtocolStringList getFieldNameList()
repeated string field_name = 2;getFieldNameList in interface ItemSuggest.RequestOrBuilderpublic int getFieldNameCount()
repeated string field_name = 2;getFieldNameCount in interface ItemSuggest.RequestOrBuilderpublic java.lang.String getFieldName(int index)
repeated string field_name = 2;getFieldName in interface ItemSuggest.RequestOrBuilderpublic com.google.protobuf.ByteString getFieldNameBytes(int index)
repeated string field_name = 2;getFieldNameBytes in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setFieldName(int index, java.lang.String value)
repeated string field_name = 2;public ItemSuggest.Request.Builder addFieldName(java.lang.String value)
repeated string field_name = 2;public ItemSuggest.Request.Builder addAllFieldName(java.lang.Iterable<java.lang.String> values)
repeated string field_name = 2;public ItemSuggest.Request.Builder clearFieldName()
repeated string field_name = 2;public ItemSuggest.Request.Builder addFieldNameBytes(com.google.protobuf.ByteString value)
repeated string field_name = 2;public boolean hasBaseQuery()
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;hasBaseQuery in interface ItemSuggest.RequestOrBuilderpublic BoolQuery getBaseQuery()
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;getBaseQuery in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setBaseQuery(BoolQuery value)
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;public ItemSuggest.Request.Builder setBaseQuery(BoolQuery.Builder builderForValue)
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;public ItemSuggest.Request.Builder mergeBaseQuery(BoolQuery value)
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;public ItemSuggest.Request.Builder clearBaseQuery()
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;public BoolQuery.Builder getBaseQueryBuilder()
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;public BoolQueryOrBuilder getBaseQueryOrBuilder()
Used to filter the suggestions
optional .dstore.elastic.BoolQuery base_query = 3;getBaseQueryOrBuilder in interface ItemSuggest.RequestOrBuilderpublic int getMaxItems()
optional int32 max_items = 5;getMaxItems in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setMaxItems(int value)
optional int32 max_items = 5;public ItemSuggest.Request.Builder clearMaxItems()
optional int32 max_items = 5;public int getMaxSuggests()
optional int32 max_suggests = 6;getMaxSuggests in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setMaxSuggests(int value)
optional int32 max_suggests = 6;public ItemSuggest.Request.Builder clearMaxSuggests()
optional int32 max_suggests = 6;public boolean getFuzzy()
optional bool fuzzy = 7;getFuzzy in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setFuzzy(boolean value)
optional bool fuzzy = 7;public ItemSuggest.Request.Builder clearFuzzy()
optional bool fuzzy = 7;public boolean getUseAndOperator()
optional bool use_and_operator = 8;getUseAndOperator in interface ItemSuggest.RequestOrBuilderpublic ItemSuggest.Request.Builder setUseAndOperator(boolean value)
optional bool use_and_operator = 8;public ItemSuggest.Request.Builder clearUseAndOperator()
optional bool use_and_operator = 8;public final ItemSuggest.Request.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>public final ItemSuggest.Request.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ItemSuggest.Request.Builder>