Package org.opensearch.protobufs
Interface GeoDistanceSortOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeoDistanceSort,GeoDistanceSort.Builder
public interface GeoDistanceSortOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLocation(String key) map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];intoptional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];booleanoptional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];Deprecated.intmap<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];getLocationOrDefault(String key, GeoLocationArray defaultValue) map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];getLocationOrThrow(String key) map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];getMode()optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];intoptional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];getOrder()optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];intoptional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];getUnit()optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];intoptional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];intoptional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];booleanoptional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];booleanoptional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];booleanhasMode()optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];booleanoptional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];booleanhasOrder()optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];booleanhasUnit()optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];booleanoptional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];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
-
hasMode
boolean hasMode()optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];- Returns:
- Whether the mode field is set.
-
getModeValue
int getModeValue()optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];- Returns:
- The enum numeric value on the wire for mode.
-
getMode
SortMode getMode()optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];- Returns:
- The mode.
-
hasDistanceType
boolean hasDistanceType()optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];- Returns:
- Whether the distanceType field is set.
-
getDistanceTypeValue
int getDistanceTypeValue()optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];- Returns:
- The enum numeric value on the wire for distanceType.
-
getDistanceType
GeoDistanceType getDistanceType()optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];- Returns:
- The distanceType.
-
hasIgnoreUnmapped
boolean hasIgnoreUnmapped()optional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];- Returns:
- Whether the ignoreUnmapped field is set.
-
getIgnoreUnmapped
boolean getIgnoreUnmapped()optional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];- Returns:
- The ignoreUnmapped.
-
hasNested
boolean hasNested()optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];- Returns:
- Whether the nested field is set.
-
getNested
NestedSortValue getNested()optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];- Returns:
- The nested.
-
getNestedOrBuilder
NestedSortValueOrBuilder getNestedOrBuilder()optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"]; -
hasOrder
boolean hasOrder()optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];- Returns:
- Whether the order field is set.
-
getOrderValue
int getOrderValue()optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];- Returns:
- The enum numeric value on the wire for order.
-
getOrder
SortOrder getOrder()optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];- Returns:
- The order.
-
hasUnit
boolean hasUnit()optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];- Returns:
- Whether the unit field is set.
-
getUnitValue
int getUnitValue()optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
DistanceUnit getUnit()optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];- Returns:
- The unit.
-
hasValidationMethod
boolean hasValidationMethod()optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];- Returns:
- Whether the validationMethod field is set.
-
getValidationMethodValue
int getValidationMethodValue()optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];- Returns:
- The enum numeric value on the wire for validationMethod.
-
getValidationMethod
GeoValidationMethod getValidationMethod()optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];- Returns:
- The validationMethod.
-
getLocationCount
int getLocationCount()map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"]; -
containsLocation
map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"]; -
getLocation
Deprecated.UsegetLocationMap()instead. -
getLocationMap
Map<String,GeoLocationArray> getLocationMap()map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"]; -
getLocationOrDefault
map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"]; -
getLocationOrThrow
map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
-