@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(3);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list652 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.partitions = new java.util.ArrayList<Partition>(_list652.size);
          @org.apache.thrift.annotation.Nullable Partition _elem653;
          for (int _i654 = 0; _i654 < _list652.size; ++_i654)
          {
            _elem653 = new Partition();
            _elem653.read(iprot);
            struct.partitions.add(_elem653);
          }
        }
        struct.setPartitionsIsSet(true);
      }
      if (incoming.get(1)) {
        struct.isStatsCompliant = iprot.readBool();
        struct.setIsStatsCompliantIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TList _list655 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.partitionColSchema = new java.util.ArrayList<FieldSchema>(_list655.size);
          @org.apache.thrift.annotation.Nullable FieldSchema _elem656;
          for (int _i657 = 0; _i657 < _list655.size; ++_i657)
          {
            _elem656 = new FieldSchema();
            _elem656.read(iprot);
            struct.partitionColSchema.add(_elem656);
          }
        }
        struct.setPartitionColSchemaIsSet(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/AddPartitionsResult.java