@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(12);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list297 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.cols = new java.util.ArrayList<FieldSchema>(_list297.size);
          @org.apache.thrift.annotation.Nullable FieldSchema _elem298;
          for (int _i299 = 0; _i299 < _list297.size; ++_i299)
          {
            _elem298 = new FieldSchema();
            _elem298.read(iprot);
            struct.cols.add(_elem298);
          }
        }
        struct.setColsIsSet(true);
      }
      if (incoming.get(1)) {
        struct.location = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(iprot.readString());
        struct.setLocationIsSet(true);
      }
      if (incoming.get(2)) {
        struct.inputFormat = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(iprot.readString());
        struct.setInputFormatIsSet(true);
      }
      if (incoming.get(3)) {
        struct.outputFormat = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(iprot.readString());
        struct.setOutputFormatIsSet(true);
      }
      if (incoming.get(4)) {
        struct.compressed = iprot.readBool();
        struct.setCompressedIsSet(true);
      }
      if (incoming.get(5)) {
        struct.numBuckets = iprot.readI32();
        struct.setNumBucketsIsSet(true);
      }
      if (incoming.get(6)) {
        struct.serdeInfo = new SerDeInfo();
        struct.serdeInfo.read(iprot);
        struct.setSerdeInfoIsSet(true);
      }
      if (incoming.get(7)) {
        {
          org.apache.thrift.protocol.TList _list300 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING);
          struct.bucketCols = new java.util.ArrayList<java.lang.String>(_list300.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _elem301;
          for (int _i302 = 0; _i302 < _list300.size; ++_i302)
          {
            _elem301 = iprot.readString();
            struct.bucketCols.add(_elem301);
          }
        }
        struct.bucketCols = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(struct.bucketCols); struct.setBucketColsIsSet(true);
      }
      if (incoming.get(8)) {
        {
          org.apache.thrift.protocol.TList _list303 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.sortCols = new java.util.ArrayList<Order>(_list303.size);
          @org.apache.thrift.annotation.Nullable Order _elem304;
          for (int _i305 = 0; _i305 < _list303.size; ++_i305)
          {
            _elem304 = new Order();
            _elem304.read(iprot);
            struct.sortCols.add(_elem304);
          }
        }
        struct.setSortColsIsSet(true);
      }
      if (incoming.get(9)) {
        {
          org.apache.thrift.protocol.TMap _map306 = 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*_map306.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key307;
          @org.apache.thrift.annotation.Nullable java.lang.String _val308;
          for (int _i309 = 0; _i309 < _map306.size; ++_i309)
          {
            _key307 = iprot.readString();
            _val308 = iprot.readString();
            struct.parameters.put(_key307, _val308);
          }
        }
        struct.parameters = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(struct.parameters); struct.setParametersIsSet(true);
      }
      if (incoming.get(10)) {
        struct.skewedInfo = new SkewedInfo();
        struct.skewedInfo.read(iprot);
        struct.setSkewedInfoIsSet(true);
      }
      if (incoming.get(11)) {
        struct.storedAsSubDirectories = iprot.readBool();
        struct.setStoredAsSubDirectoriesIsSet(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/StorageDescriptor.java