code: public static Object toObject(VectorTile.Tile.Value value) {
          Object result = null;
  
          if(value.hasDoubleValue()) {
              result = value.getDoubleValue();
  
          } else if(value.hasFloatValue()) {
              result = value.getFloatValue();
  
          } else if(value.hasIntValue()) {
              result = value.getIntValue();
  
          } else if(value.hasBoolValue()) {
              result = value.getBoolValue();
  
          } else if(value.hasStringValue()) {
              result = value.getStringValue();
  
          } else if(value.hasSintValue()) {
              result = value.getSintValue();
  
          } else if(value.hasUintValue()) {
              result = value.getUintValue();
          }
  
          return result;
      }
docs: Convert {@link VectorTile.Tile.Value} to String or boxed primitive object.
  
  @param value target for conversion
  @return String or boxed primitive