Package org.opensearch.protobufs
Interface ScriptSortOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScriptSort,ScriptSort.Builder
public interface ScriptSortOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMode()optional .org.opensearch.protobufs.SortMode mode = 4 [json_name = "mode"];intoptional .org.opensearch.protobufs.SortMode mode = 4 [json_name = "mode"];optional .org.opensearch.protobufs.NestedSortValue nested = 5 [json_name = "nested"];optional .org.opensearch.protobufs.NestedSortValue nested = 5 [json_name = "nested"];getOrder()optional .org.opensearch.protobufs.SortOrder order = 2 [json_name = "order"];intoptional .org.opensearch.protobufs.SortOrder order = 2 [json_name = "order"];.org.opensearch.protobufs.Script script = 1 [json_name = "script"];.org.opensearch.protobufs.Script script = 1 [json_name = "script"];getType()optional .org.opensearch.protobufs.ScriptSortType type = 3 [json_name = "type"];intoptional .org.opensearch.protobufs.ScriptSortType type = 3 [json_name = "type"];booleanhasMode()optional .org.opensearch.protobufs.SortMode mode = 4 [json_name = "mode"];booleanoptional .org.opensearch.protobufs.NestedSortValue nested = 5 [json_name = "nested"];booleanhasOrder()optional .org.opensearch.protobufs.SortOrder order = 2 [json_name = "order"];boolean.org.opensearch.protobufs.Script script = 1 [json_name = "script"];booleanhasType()optional .org.opensearch.protobufs.ScriptSortType type = 3 [json_name = "type"];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
-
hasScript
boolean hasScript().org.opensearch.protobufs.Script script = 1 [json_name = "script"];- Returns:
- Whether the script field is set.
-
getScript
Script getScript().org.opensearch.protobufs.Script script = 1 [json_name = "script"];- Returns:
- The script.
-
getScriptOrBuilder
ScriptOrBuilder getScriptOrBuilder().org.opensearch.protobufs.Script script = 1 [json_name = "script"]; -
hasOrder
boolean hasOrder()optional .org.opensearch.protobufs.SortOrder order = 2 [json_name = "order"];- Returns:
- Whether the order field is set.
-
getOrderValue
int getOrderValue()optional .org.opensearch.protobufs.SortOrder order = 2 [json_name = "order"];- Returns:
- The enum numeric value on the wire for order.
-
getOrder
SortOrder getOrder()optional .org.opensearch.protobufs.SortOrder order = 2 [json_name = "order"];- Returns:
- The order.
-
hasType
boolean hasType()optional .org.opensearch.protobufs.ScriptSortType type = 3 [json_name = "type"];- Returns:
- Whether the type field is set.
-
getTypeValue
int getTypeValue()optional .org.opensearch.protobufs.ScriptSortType type = 3 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
ScriptSortType getType()optional .org.opensearch.protobufs.ScriptSortType type = 3 [json_name = "type"];- Returns:
- The type.
-
hasMode
boolean hasMode()optional .org.opensearch.protobufs.SortMode mode = 4 [json_name = "mode"];- Returns:
- Whether the mode field is set.
-
getModeValue
int getModeValue()optional .org.opensearch.protobufs.SortMode mode = 4 [json_name = "mode"];- Returns:
- The enum numeric value on the wire for mode.
-
getMode
SortMode getMode()optional .org.opensearch.protobufs.SortMode mode = 4 [json_name = "mode"];- Returns:
- The mode.
-
hasNested
boolean hasNested()optional .org.opensearch.protobufs.NestedSortValue nested = 5 [json_name = "nested"];- Returns:
- Whether the nested field is set.
-
getNested
NestedSortValue getNested()optional .org.opensearch.protobufs.NestedSortValue nested = 5 [json_name = "nested"];- Returns:
- The nested.
-
getNestedOrBuilder
NestedSortValueOrBuilder getNestedOrBuilder()optional .org.opensearch.protobufs.NestedSortValue nested = 5 [json_name = "nested"];
-