Package org.opensearch.protobufs
Interface TermsSetQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TermsSetQuery,TermsSetQuery.Builder
public interface TermsSetQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetBoost()optional float boost = 3 [json_name = "boost"];getField()string field = 1 [json_name = "field"];com.google.protobuf.ByteStringstring field = 1 [json_name = "field"];optional string minimum_should_match_field = 5 [json_name = "minimumShouldMatchField"];com.google.protobuf.ByteStringoptional string minimum_should_match_field = 5 [json_name = "minimumShouldMatchField"];optional .org.opensearch.protobufs.Script minimum_should_match_script = 6 [json_name = "minimumShouldMatchScript"];optional .org.opensearch.protobufs.Script minimum_should_match_script = 6 [json_name = "minimumShouldMatchScript"];getTerms(int index) repeated string terms = 2 [json_name = "terms"];com.google.protobuf.ByteStringgetTermsBytes(int index) repeated string terms = 2 [json_name = "terms"];intrepeated string terms = 2 [json_name = "terms"];repeated string terms = 2 [json_name = "terms"];getXName()optional string x_name = 4 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 4 [json_name = "xName"];booleanhasBoost()optional float boost = 3 [json_name = "boost"];booleanoptional string minimum_should_match_field = 5 [json_name = "minimumShouldMatchField"];booleanoptional .org.opensearch.protobufs.Script minimum_should_match_script = 6 [json_name = "minimumShouldMatchScript"];booleanhasXName()optional string x_name = 4 [json_name = "xName"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getField
String getField()string field = 1 [json_name = "field"];- Returns:
- The field.
-
getFieldBytes
com.google.protobuf.ByteString getFieldBytes()string field = 1 [json_name = "field"];- Returns:
- The bytes for field.
-
getTermsList
repeated string terms = 2 [json_name = "terms"];- Returns:
- A list containing the terms.
-
getTermsCount
int getTermsCount()repeated string terms = 2 [json_name = "terms"];- Returns:
- The count of terms.
-
getTerms
repeated string terms = 2 [json_name = "terms"];- Parameters:
index- The index of the element to return.- Returns:
- The terms at the given index.
-
getTermsBytes
com.google.protobuf.ByteString getTermsBytes(int index) repeated string terms = 2 [json_name = "terms"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the terms at the given index.
-
hasBoost
boolean hasBoost()optional float boost = 3 [json_name = "boost"];- Returns:
- Whether the boost field is set.
-
getBoost
float getBoost()optional float boost = 3 [json_name = "boost"];- Returns:
- The boost.
-
hasXName
boolean hasXName()optional string x_name = 4 [json_name = "xName"];- Returns:
- Whether the xName field is set.
-
getXName
String getXName()optional string x_name = 4 [json_name = "xName"];- Returns:
- The xName.
-
getXNameBytes
com.google.protobuf.ByteString getXNameBytes()optional string x_name = 4 [json_name = "xName"];- Returns:
- The bytes for xName.
-
hasMinimumShouldMatchField
boolean hasMinimumShouldMatchField()optional string minimum_should_match_field = 5 [json_name = "minimumShouldMatchField"];- Returns:
- Whether the minimumShouldMatchField field is set.
-
getMinimumShouldMatchField
String getMinimumShouldMatchField()optional string minimum_should_match_field = 5 [json_name = "minimumShouldMatchField"];- Returns:
- The minimumShouldMatchField.
-
getMinimumShouldMatchFieldBytes
com.google.protobuf.ByteString getMinimumShouldMatchFieldBytes()optional string minimum_should_match_field = 5 [json_name = "minimumShouldMatchField"];- Returns:
- The bytes for minimumShouldMatchField.
-
hasMinimumShouldMatchScript
boolean hasMinimumShouldMatchScript()optional .org.opensearch.protobufs.Script minimum_should_match_script = 6 [json_name = "minimumShouldMatchScript"];- Returns:
- Whether the minimumShouldMatchScript field is set.
-
getMinimumShouldMatchScript
Script getMinimumShouldMatchScript()optional .org.opensearch.protobufs.Script minimum_should_match_script = 6 [json_name = "minimumShouldMatchScript"];- Returns:
- The minimumShouldMatchScript.
-
getMinimumShouldMatchScriptOrBuilder
ScriptOrBuilder getMinimumShouldMatchScriptOrBuilder()optional .org.opensearch.protobufs.Script minimum_should_match_script = 6 [json_name = "minimumShouldMatchScript"];
-