Package org.opensearch.protobufs
Class SimpleQueryStringQuery
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.SimpleQueryStringQuery
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,SimpleQueryStringQueryOrBuilder
public final class SimpleQueryStringQuery
extends com.google.protobuf.GeneratedMessageV3
implements SimpleQueryStringQueryOrBuilder
Protobuf type
SimpleQueryStringQuery- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeSimpleQueryStringQueryNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring analyzer = 3 [json_name = "analyzer"];com.google.protobuf.ByteStringstring analyzer = 3 [json_name = "analyzer"];booleanbool analyze_wildcard = 4 [json_name = "analyzeWildcard"];booleanbool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];floatgetBoost()optional float boost = 1 [json_name = "boost"];static SimpleQueryStringQuery.Operator default_operator = 6 [json_name = "defaultOperator"];int.Operator default_operator = 6 [json_name = "defaultOperator"];static final com.google.protobuf.Descriptors.DescriptorgetFields(int index) repeated string fields = 7 [json_name = "fields"];com.google.protobuf.ByteStringgetFieldsBytes(int index) repeated string fields = 7 [json_name = "fields"];intrepeated string fields = 7 [json_name = "fields"];com.google.protobuf.ProtocolStringListrepeated string fields = 7 [json_name = "fields"];getFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];.SimpleQueryStringFlags flags = 8 [json_name = "flags"];intint32 fuzzy_max_expansions = 9 [json_name = "fuzzyMaxExpansions"];intint32 fuzzy_prefix_length = 10 [json_name = "fuzzyPrefixLength"];booleanbool fuzzy_transpositions = 11 [json_name = "fuzzyTranspositions"];booleanbool lenient = 12 [json_name = "lenient"];.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];com.google.protobuf.Parser<SimpleQueryStringQuery> getQuery()string query = 14 [json_name = "query"];com.google.protobuf.ByteStringstring query = 14 [json_name = "query"];string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];com.google.protobuf.ByteStringstring quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];intgetXName()optional string x_name = 2 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 2 [json_name = "xName"];booleanhasBoost()optional float boost = 1 [json_name = "boost"];booleanhasFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];inthashCode()boolean.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];booleanhasXName()optional string x_name = 2 [json_name = "xName"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SimpleQueryStringQuery prototype) protected SimpleQueryStringQuery.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SimpleQueryStringQueryparseDelimitedFrom(InputStream input) static SimpleQueryStringQueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SimpleQueryStringQueryparseFrom(byte[] data) static SimpleQueryStringQueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SimpleQueryStringQueryparseFrom(com.google.protobuf.ByteString data) static SimpleQueryStringQueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SimpleQueryStringQueryparseFrom(com.google.protobuf.CodedInputStream input) static SimpleQueryStringQueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SimpleQueryStringQueryparseFrom(InputStream input) static SimpleQueryStringQueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SimpleQueryStringQueryparseFrom(ByteBuffer data) static SimpleQueryStringQueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SimpleQueryStringQuery> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BOOST_FIELD_NUMBER
public static final int BOOST_FIELD_NUMBER- See Also:
-
X_NAME_FIELD_NUMBER
public static final int X_NAME_FIELD_NUMBER- See Also:
-
ANALYZER_FIELD_NUMBER
public static final int ANALYZER_FIELD_NUMBER- See Also:
-
ANALYZE_WILDCARD_FIELD_NUMBER
public static final int ANALYZE_WILDCARD_FIELD_NUMBER- See Also:
-
AUTO_GENERATE_SYNONYMS_PHRASE_QUERY_FIELD_NUMBER
public static final int AUTO_GENERATE_SYNONYMS_PHRASE_QUERY_FIELD_NUMBER- See Also:
-
DEFAULT_OPERATOR_FIELD_NUMBER
public static final int DEFAULT_OPERATOR_FIELD_NUMBER- See Also:
-
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER- See Also:
-
FLAGS_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER- See Also:
-
FUZZY_MAX_EXPANSIONS_FIELD_NUMBER
public static final int FUZZY_MAX_EXPANSIONS_FIELD_NUMBER- See Also:
-
FUZZY_PREFIX_LENGTH_FIELD_NUMBER
public static final int FUZZY_PREFIX_LENGTH_FIELD_NUMBER- See Also:
-
FUZZY_TRANSPOSITIONS_FIELD_NUMBER
public static final int FUZZY_TRANSPOSITIONS_FIELD_NUMBER- See Also:
-
LENIENT_FIELD_NUMBER
public static final int LENIENT_FIELD_NUMBER- See Also:
-
MINIMUM_SHOULD_MATCH_FIELD_NUMBER
public static final int MINIMUM_SHOULD_MATCH_FIELD_NUMBER- See Also:
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER- See Also:
-
QUOTE_FIELD_SUFFIX_FIELD_NUMBER
public static final int QUOTE_FIELD_SUFFIX_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasBoost
public boolean hasBoost()optional float boost = 1 [json_name = "boost"];- Specified by:
hasBoostin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- Whether the boost field is set.
-
getBoost
public float getBoost()optional float boost = 1 [json_name = "boost"];- Specified by:
getBoostin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The boost.
-
hasXName
public boolean hasXName()optional string x_name = 2 [json_name = "xName"];- Specified by:
hasXNamein interfaceSimpleQueryStringQueryOrBuilder- Returns:
- Whether the xName field is set.
-
getXName
optional string x_name = 2 [json_name = "xName"];- Specified by:
getXNamein interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The xName.
-
getXNameBytes
public com.google.protobuf.ByteString getXNameBytes()optional string x_name = 2 [json_name = "xName"];- Specified by:
getXNameBytesin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The bytes for xName.
-
getAnalyzer
string analyzer = 3 [json_name = "analyzer"];- Specified by:
getAnalyzerin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The analyzer.
-
getAnalyzerBytes
public com.google.protobuf.ByteString getAnalyzerBytes()string analyzer = 3 [json_name = "analyzer"];- Specified by:
getAnalyzerBytesin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The bytes for analyzer.
-
getAnalyzeWildcard
public boolean getAnalyzeWildcard()bool analyze_wildcard = 4 [json_name = "analyzeWildcard"];- Specified by:
getAnalyzeWildcardin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The analyzeWildcard.
-
getAutoGenerateSynonymsPhraseQuery
public boolean getAutoGenerateSynonymsPhraseQuery()bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];- Specified by:
getAutoGenerateSynonymsPhraseQueryin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The autoGenerateSynonymsPhraseQuery.
-
getDefaultOperatorValue
public int getDefaultOperatorValue().Operator default_operator = 6 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorValuein interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The enum numeric value on the wire for defaultOperator.
-
getDefaultOperator
.Operator default_operator = 6 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The defaultOperator.
-
getFieldsList
public com.google.protobuf.ProtocolStringList getFieldsList()repeated string fields = 7 [json_name = "fields"];- Specified by:
getFieldsListin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- A list containing the fields.
-
getFieldsCount
public int getFieldsCount()repeated string fields = 7 [json_name = "fields"];- Specified by:
getFieldsCountin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The count of fields.
-
getFields
repeated string fields = 7 [json_name = "fields"];- Specified by:
getFieldsin interfaceSimpleQueryStringQueryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fields at the given index.
-
getFieldsBytes
public com.google.protobuf.ByteString getFieldsBytes(int index) repeated string fields = 7 [json_name = "fields"];- Specified by:
getFieldsBytesin interfaceSimpleQueryStringQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fields at the given index.
-
hasFlags
public boolean hasFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];- Specified by:
hasFlagsin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- Whether the flags field is set.
-
getFlags
.SimpleQueryStringFlags flags = 8 [json_name = "flags"];- Specified by:
getFlagsin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The flags.
-
getFlagsOrBuilder
.SimpleQueryStringFlags flags = 8 [json_name = "flags"];- Specified by:
getFlagsOrBuilderin interfaceSimpleQueryStringQueryOrBuilder
-
getFuzzyMaxExpansions
public int getFuzzyMaxExpansions()int32 fuzzy_max_expansions = 9 [json_name = "fuzzyMaxExpansions"];- Specified by:
getFuzzyMaxExpansionsin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The fuzzyMaxExpansions.
-
getFuzzyPrefixLength
public int getFuzzyPrefixLength()int32 fuzzy_prefix_length = 10 [json_name = "fuzzyPrefixLength"];- Specified by:
getFuzzyPrefixLengthin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The fuzzyPrefixLength.
-
getFuzzyTranspositions
public boolean getFuzzyTranspositions()bool fuzzy_transpositions = 11 [json_name = "fuzzyTranspositions"];- Specified by:
getFuzzyTranspositionsin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The fuzzyTranspositions.
-
getLenient
public boolean getLenient()bool lenient = 12 [json_name = "lenient"];- Specified by:
getLenientin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The lenient.
-
hasMinimumShouldMatch
public boolean hasMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];- Specified by:
hasMinimumShouldMatchin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];- Specified by:
getMinimumShouldMatchin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];- Specified by:
getMinimumShouldMatchOrBuilderin interfaceSimpleQueryStringQueryOrBuilder
-
getQuery
string query = 14 [json_name = "query"];- Specified by:
getQueryin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()string query = 14 [json_name = "query"];- Specified by:
getQueryBytesin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The bytes for query.
-
getQuoteFieldSuffix
string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];- Specified by:
getQuoteFieldSuffixin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The quoteFieldSuffix.
-
getQuoteFieldSuffixBytes
public com.google.protobuf.ByteString getQuoteFieldSuffixBytes()string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];- Specified by:
getQuoteFieldSuffixBytesin interfaceSimpleQueryStringQueryOrBuilder- Returns:
- The bytes for quoteFieldSuffix.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SimpleQueryStringQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SimpleQueryStringQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SimpleQueryStringQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SimpleQueryStringQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-