@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, CreateDatabaseRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.databaseName = iprot.readString();
      struct.setDatabaseNameIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(12);
      if (incoming.get(0)) {
        struct.description = iprot.readString();
        struct.setDescriptionIsSet(true);
      }
      if (incoming.get(1)) {
        struct.locationUri = iprot.readString();
        struct.setLocationUriIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TMap _map1412 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); 
          struct.parameters = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map1412.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key1413;
          @org.apache.thrift.annotation.Nullable java.lang.String _val1414;
          for (int _i1415 = 0; _i1415 < _map1412.size; ++_i1415)
          {
            _key1413 = iprot.readString();
            _val1414 = iprot.readString();
            struct.parameters.put(_key1413, _val1414);
          }
        }
        struct.setParametersIsSet(true);
      }
      if (incoming.get(3)) {
        struct.privileges = new PrincipalPrivilegeSet();
        struct.privileges.read(iprot);
        struct.setPrivilegesIsSet(true);
      }
      if (incoming.get(4)) {
        struct.ownerName = iprot.readString();
        struct.setOwnerNameIsSet(true);
      }
      if (incoming.get(5)) {
        struct.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32());
        struct.setOwnerTypeIsSet(true);
      }
      if (incoming.get(6)) {
        struct.catalogName = iprot.readString();
        struct.setCatalogNameIsSet(true);
      }
      if (incoming.get(7)) {
        struct.createTime = iprot.readI32();
        struct.setCreateTimeIsSet(true);
      }
      if (incoming.get(8)) {
        struct.managedLocationUri = iprot.readString();
        struct.setManagedLocationUriIsSet(true);
      }
      if (incoming.get(9)) {
        struct.type = org.apache.hadoop.hive.metastore.api.DatabaseType.findByValue(iprot.readI32());
        struct.setTypeIsSet(true);
      }
      if (incoming.get(10)) {
        struct.dataConnectorName = iprot.readString();
        struct.setDataConnectorNameIsSet(true);
      }
      if (incoming.get(11)) {
        struct.remote_dbname = iprot.readString();
        struct.setRemote_dbnameIsSet(true);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateDatabaseRequest.java