code: public AddressType[] getTypes() {
          if (types == null) {
              return null;
          }
          return Arrays.copyOf(types, types.length);
      }
docs: The {@code types} array indicates the type of the returned result. This
  array contains a set of zero or more tags identifying the type of feature
  returned in the result. For example, a geocode of "Chicago" returns
  "locality" which indicates that "Chicago" is a city, and also returns
  "political" which indicates it is a political entity.
  
  @return the types