Package org.opensearch.protobufs
Interface GeoLocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeoLocation,GeoLocation.Builder
public interface GeoLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];getText()string text = 4 [json_name = "text"];com.google.protobuf.ByteStringstring text = 4 [json_name = "text"];boolean.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];boolean.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];boolean.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];booleanhasText()string text = 4 [json_name = "text"];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
-
hasLatlon
boolean hasLatlon().org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];- Returns:
- Whether the latlon field is set.
-
getLatlon
LatLonGeoLocation getLatlon().org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];- Returns:
- The latlon.
-
getLatlonOrBuilder
LatLonGeoLocationOrBuilder getLatlonOrBuilder().org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"]; -
hasGeohash
boolean hasGeohash().org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];- Returns:
- Whether the geohash field is set.
-
getGeohash
GeoHashLocation getGeohash().org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];- Returns:
- The geohash.
-
getGeohashOrBuilder
GeoHashLocationOrBuilder getGeohashOrBuilder().org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"]; -
hasCoords
boolean hasCoords().org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];- Returns:
- Whether the coords field is set.
-
getCoords
DoubleArray getCoords().org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];- Returns:
- The coords.
-
getCoordsOrBuilder
DoubleArrayOrBuilder getCoordsOrBuilder().org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"]; -
hasText
boolean hasText()string text = 4 [json_name = "text"];- Returns:
- Whether the text field is set.
-
getText
String getText()string text = 4 [json_name = "text"];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()string text = 4 [json_name = "text"];- Returns:
- The bytes for text.
-
getGeoLocationCase
GeoLocation.GeoLocationCase getGeoLocationCase()
-