Interface LocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location
,Location.Builder
public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.type.LatLng
getLatlng()
Position of the location on the map.com.google.type.LatLngOrBuilder
getLatlngOrBuilder()
Position of the location on the map.java.lang.String
getLocationName()
Name of the location to be displayed.com.google.protobuf.ByteString
getLocationNameBytes()
Name of the location to be displayed.boolean
hasLatlng()
Position of the location on the map.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLocationName
java.lang.String getLocationName()
Name of the location to be displayed.
string location_name = 1;
- Returns:
- The locationName.
-
getLocationNameBytes
com.google.protobuf.ByteString getLocationNameBytes()
Name of the location to be displayed.
string location_name = 1;
- Returns:
- The bytes for locationName.
-
hasLatlng
boolean hasLatlng()
Position of the location on the map.
.google.type.LatLng latlng = 2;
- Returns:
- Whether the latlng field is set.
-
getLatlng
com.google.type.LatLng getLatlng()
Position of the location on the map.
.google.type.LatLng latlng = 2;
- Returns:
- The latlng.
-
getLatlngOrBuilder
com.google.type.LatLngOrBuilder getLatlngOrBuilder()
Position of the location on the map.
.google.type.LatLng latlng = 2;
-
-