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, .GeoLocationArray> location = 8 [json_name = "location"];optional .GeoDistanceType distance_type = 2 [json_name = "distanceType"];intoptional .GeoDistanceType distance_type = 2 [json_name = "distanceType"];booleanoptional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];Deprecated.intmap<string, .GeoLocationArray> location = 8 [json_name = "location"];map<string, .GeoLocationArray> location = 8 [json_name = "location"];getLocationOrDefault(String key, GeoLocationArray defaultValue) map<string, .GeoLocationArray> location = 8 [json_name = "location"];getLocationOrThrow(String key) map<string, .GeoLocationArray> location = 8 [json_name = "location"];getMode()optional .SortMode mode = 1 [json_name = "mode"];intoptional .SortMode mode = 1 [json_name = "mode"];optional .NestedSortValue nested = 4 [json_name = "nested"];optional .NestedSortValue nested = 4 [json_name = "nested"];getOrder()optional .SortOrder order = 5 [json_name = "order"];intoptional .SortOrder order = 5 [json_name = "order"];getUnit()optional .DistanceUnit unit = 6 [json_name = "unit"];intoptional .DistanceUnit unit = 6 [json_name = "unit"];optional .GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];intoptional .GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];booleanoptional .GeoDistanceType distance_type = 2 [json_name = "distanceType"];booleanoptional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];booleanhasMode()optional .SortMode mode = 1 [json_name = "mode"];booleanoptional .NestedSortValue nested = 4 [json_name = "nested"];booleanhasOrder()optional .SortOrder order = 5 [json_name = "order"];booleanhasUnit()optional .DistanceUnit unit = 6 [json_name = "unit"];booleanoptional .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 .SortMode mode = 1 [json_name = "mode"];- Returns:
- Whether the mode field is set.
-
getModeValue
int getModeValue()optional .SortMode mode = 1 [json_name = "mode"];- Returns:
- The enum numeric value on the wire for mode.
-
getMode
SortMode getMode()optional .SortMode mode = 1 [json_name = "mode"];- Returns:
- The mode.
-
hasDistanceType
boolean hasDistanceType()optional .GeoDistanceType distance_type = 2 [json_name = "distanceType"];- Returns:
- Whether the distanceType field is set.
-
getDistanceTypeValue
int getDistanceTypeValue()optional .GeoDistanceType distance_type = 2 [json_name = "distanceType"];- Returns:
- The enum numeric value on the wire for distanceType.
-
getDistanceType
GeoDistanceType getDistanceType()optional .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 .NestedSortValue nested = 4 [json_name = "nested"];- Returns:
- Whether the nested field is set.
-
getNested
NestedSortValue getNested()optional .NestedSortValue nested = 4 [json_name = "nested"];- Returns:
- The nested.
-
getNestedOrBuilder
NestedSortValueOrBuilder getNestedOrBuilder()optional .NestedSortValue nested = 4 [json_name = "nested"]; -
hasOrder
boolean hasOrder()optional .SortOrder order = 5 [json_name = "order"];- Returns:
- Whether the order field is set.
-
getOrderValue
int getOrderValue()optional .SortOrder order = 5 [json_name = "order"];- Returns:
- The enum numeric value on the wire for order.
-
getOrder
SortOrder getOrder()optional .SortOrder order = 5 [json_name = "order"];- Returns:
- The order.
-
hasUnit
boolean hasUnit()optional .DistanceUnit unit = 6 [json_name = "unit"];- Returns:
- Whether the unit field is set.
-
getUnitValue
int getUnitValue()optional .DistanceUnit unit = 6 [json_name = "unit"];- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
DistanceUnit getUnit()optional .DistanceUnit unit = 6 [json_name = "unit"];- Returns:
- The unit.
-
hasValidationMethod
boolean hasValidationMethod()optional .GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];- Returns:
- Whether the validationMethod field is set.
-
getValidationMethodValue
int getValidationMethodValue()optional .GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];- Returns:
- The enum numeric value on the wire for validationMethod.
-
getValidationMethod
GeoValidationMethod getValidationMethod()optional .GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];- Returns:
- The validationMethod.
-
getLocationCount
int getLocationCount()map<string, .GeoLocationArray> location = 8 [json_name = "location"]; -
containsLocation
map<string, .GeoLocationArray> location = 8 [json_name = "location"]; -
getLocation
Deprecated.UsegetLocationMap()instead. -
getLocationMap
Map<String,GeoLocationArray> getLocationMap()map<string, .GeoLocationArray> location = 8 [json_name = "location"]; -
getLocationOrDefault
map<string, .GeoLocationArray> location = 8 [json_name = "location"]; -
getLocationOrThrow
map<string, .GeoLocationArray> location = 8 [json_name = "location"];
-