code: public GeoServiceGeocodingResult toGeoServiceGeocodingResult(
              final GeocodingResult result) {
          if (result == null) {
              return null;
          }
          return new GeoServiceGeocodingResult(
                  result.addressComponents,
                  result.formattedAddress,
                  result.postcodeLocalities,
                  toGeoServiceGeometry(result.geometry),
                  result.types,
                  result.partialMatch,
                  result.placeId);
      }
docs: Create a GeoServiceGeocodingResult from a GeocodingResult.
  
  @param result the GeocodingResult
  @return the GeoServiceGeocodingResult