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 Type
    Method
    Description
    boolean
    map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];
    int
    optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];
    boolean
    optional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];
    Deprecated.
    int
    map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];
    int
    optional .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"];
    optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];
    int
    optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];
    optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];
    int
    optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];
    optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];
    int
    optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];
    boolean
    optional .org.opensearch.protobufs.GeoDistanceType distance_type = 2 [json_name = "distanceType"];
    boolean
    optional bool ignore_unmapped = 3 [json_name = "ignoreUnmapped"];
    boolean
    optional .org.opensearch.protobufs.SortMode mode = 1 [json_name = "mode"];
    boolean
    optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
    boolean
    optional .org.opensearch.protobufs.SortOrder order = 5 [json_name = "order"];
    boolean
    optional .org.opensearch.protobufs.DistanceUnit unit = 6 [json_name = "unit"];
    boolean
    optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 7 [json_name = "validationMethod"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      boolean containsLocation(String key)
      map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    • getLocation

      Deprecated.
      Use getLocationMap() instead.
    • getLocationMap

      Map<String,GeoLocationArray> getLocationMap()
      map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    • getLocationOrDefault

      GeoLocationArray getLocationOrDefault(String key, GeoLocationArray defaultValue)
      map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];
    • getLocationOrThrow

      GeoLocationArray getLocationOrThrow(String key)
      map<string, .org.opensearch.protobufs.GeoLocationArray> location = 8 [json_name = "location"];